You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Tim Boemker <tb...@intelliseek.com> on 1999/10/26 21:08:34 UTC

protocol/5201: Illegal Status-Line

>Number:         5201
>Category:       protocol
>Synopsis:       Illegal Status-Line
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Oct 26 12:10:03 PDT 1999
>Last-Modified:
>Originator:     tboemker@intelliseek.com
>Organization:
apache
>Release:        1.3.4
>Environment:
Don't know -- the server is running on someone else's system.
>Description:
The Status-Line Apache 1.3.4 generates isn't quite legal.  According to RFC 1945, the status code must be followed by a space:

    "HTTP/" 1*DIGIT "." 1*DIGIT SP 3DIGIT SP

The response shown below is missing that space.
>How-To-Repeat:
REQUEST:
47 45 54 20 2F 20 48 54 54 50 2F 31 2E 30 0D 0A  GET / HTTP/1.0..
48 6F 73 74 3A 20 6D 6F 7A 69 6C 6C 61 2E 6F 72  Host: mozilla.or
67 0D 0A 0D 0A                                   g....

REPLY:
48 54 54 50 2F 31 2E 31 20 33 30 32 0D 0A 44 61  HTTP/1.1 302..Da
74 65 3A 20 54 75 65 2C 20 32 36 20 4F 63 74 20  te: Tue, 26 Oct 
31 39 39 39 20 31 37 3A 35 34 3A 33 39 20 47 4D  1999 17:54:39 GM
54 0D 0A 53 65 72 76 65 72 3A 20 41 70 61 63 68  T..Server: Apach
65 2F 31 2E 33 2E 34 20 28 55 6E 69 78 29 0D 0A  e/1.3.4 (Unix)..
4C 6F 63 61 74 69 6F 6E 3A 20 68 74 74 70 3A 2F  Location: http:/
2F 77 77 77 2E 6D 6F 7A 69 6C 6C 61 2E 6F 72 67  /www.mozilla.org
2F 0D 0A 43 6F 6E 6E 65 63 74 69 6F 6E 3A 20 63  /..Connection: c
6C 6F 73 65 0D 0A 43 6F 6E 74 65 6E 74 2D 54 79  lose..Content-Ty
70 65 3A 20 74 65 78 74 2F 70 6C 61 69 6E 0D 0A  pe: text/plain..
0D 0A                                            ..
>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]