To wrap up this discussion, can we summarize the answer in RFC 2119
standard-speak? What requirements must an http server meet in order to
claim compliance with HTTP/1.1 AND CGI/1.1?
1. MAY a server discard the message body of a POST request with no
Content-Length?
2. MAY a server discard the message body of a POST request with no
Content-Length when the destination resource is CGI?
3. MUST a server buffer the message body of a POST request with
Transfer-Encoding: chunked and generate a CONTENT_LENGTH when the
destination resource is CGI?
4. SHOULD a server buffer the message body of a POST request with
Transfer-Encoding: chunked and generate a CONTENT_LENGTH when the
destination resource is CGI?
What if the destination resource is a servlet?
Should this information be written in a spec or informational something
somewhere?
Thanks,
Carl Kugler
Our website uses cookies on your device to give you the best user experience. By using our website, you agree to the placement of these cookies. To learn more, read our privacy policy. Read Privacy Policy