mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Docfix.
This commit is contained in:
parent
f57e571154
commit
ddd2644bc8
@ -564,7 +564,7 @@ response_status (const struct response *resp, char **message)
|
|||||||
|
|
||||||
if (!resp->headers)
|
if (!resp->headers)
|
||||||
{
|
{
|
||||||
/* For a HTTP/0.9 response, always assume 200 response. */
|
/* For a HTTP/0.9 response, assume status 200. */
|
||||||
if (message)
|
if (message)
|
||||||
*message = xstrdup (_("No headers, assuming HTTP/0.9"));
|
*message = xstrdup (_("No headers, assuming HTTP/0.9"));
|
||||||
return 200;
|
return 200;
|
||||||
@ -581,8 +581,8 @@ response_status (const struct response *resp, char **message)
|
|||||||
return -1;
|
return -1;
|
||||||
p += 4;
|
p += 4;
|
||||||
|
|
||||||
/* "/x.x" (optional because some Gnutella servers have been reported
|
/* Match the HTTP version. This is optional because Gnutella
|
||||||
as not sending the "/x.x" part. */
|
servers have been reported to not specify HTTP version. */
|
||||||
if (p < end && *p == '/')
|
if (p < end && *p == '/')
|
||||||
{
|
{
|
||||||
++p;
|
++p;
|
||||||
|
Loading…
Reference in New Issue
Block a user