Doug,
Thanks for the response. However, I may not have made myself clear...
If I return the following:
<?php
header("HTTP/1.0 400 foobar");
?>
I expect the recipient program to see the reason phrase as "foobar". But
what is sees is "BAD REQUEST".
I understand that the reason phrase for 400 is shown in the HTTP spec to
be "Bad Request". However, the spec also says that this may be replaced
without affecting the protocol.
I don't see anywhere in the PHP docs that says I cannot do this. Indeed,
header() is for sending "raw" headers. To me that means NOT manipulating
them. But maybe there is no way around this. Maybe if I send something >
600, PHP will leave it alone?
David
_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners