Skip to content

HTTP status message #68

Open
ArtemGr opened this Issue Dec 10, 2012 · 2 comments

2 participants

@ArtemGr
ArtemGr commented Dec 10, 2012

Some JS libraries, jQuery-File-Upload in particular, use the HTTP 500 status message as the error message to display to the user. This is because the HTTP status message is easily accessible from the XMLHttpRequest ( http://www.w3.org/TR/XMLHttpRequest/#the-statustext-attribute ).

I have not found a way to set this message in evhtp.
Perhaps there should be an easy way to set the HTTP status message.

@ellzey
Owner
ellzey commented Dec 10, 2012

leave it up to xml people to break rfc. can you open up a ticket requesting for a time machine to be invented so I can go back in time, find the person who invented xml, and punch him/her in the face?

@ArtemGr
ArtemGr commented Dec 10, 2012

I wouldn't dare to change your life in such a drastic way. Inventing a time machine can be a time consuming and dangerous experience.

Indeed, the W3C people seem to think that the HTTP status message "is for the man, not the man for the status message": "The data sections of messages Error, Forward and redirection responses may be used to contain human-readable diagnostic information" - http://www.w3.org/Protocols/HTTP/HTRESP.html
This sacriledge should be of course routed out in the swiftest manner. Still, you should not forget about your safety when you punch the adherents of such views in the face, or we'd risk the extinction of us, the true RFC followers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.