Does the name of an HTTP status code matter -
I'm sending some HTTP status codes in PHP, do I really need to do
header ('HTTP / 1.1301 moved permanently'); or
is enough for the header ('http / 1.1 301 fur'); I once did it in a quick and filthy reverse proxy, where I could only get the code, not the message, from the response to curls and it was sent to FooBar Message as it appeared to work fine.
Via:
The numerical position defined for the HTTP / 1.1 The values of the code, and the reasons for this-example set of phrases are presented below. The reasons listed here are only recommendations - they can be replaced by local counterparts without affecting the protocol.
Comments
Post a Comment