--- Comment #2 from ---
Hi Remy,

Thanks for the fast answer. I have done some further readings on the RFC 2616
(the HTTP protocol RFC), that is referred to by the RFC 6455.

In section 6.1 it says:
The first line of a Response message is the Status-Line, consisting
of the protocol version followed by a numeric status code and its
associated textual phrase, with each element separated by SP
characters. No CR or LF is allowed except in the final CRLF sequence.

       Status-Line = HTTP-Version SP Status-Code SP Reason-Phrase CRLF

where SP is a space char, so a valid status line would look like:

HTTP/1.1 101 Switching Protocols

However, the RFC 2616, does not say that the phrase is optional.

Is says in section 6.1.1 is says ".....The client is not required to examine or
display the Reason-Phrase".

Which IMO means (to summarize): The server SHOULD make sure that both the
Status-Code and the Reason-Phrase is there, but the client COULD ignore the
Reason-Phrase and operate solely on the Status-Code.

But, as always with RFCs and protocols in general. It depends on the reader.

Best regards


You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to