[
https://issues.apache.org/jira/browse/AWF-69?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tony Stevenson moved DEFT-25 to AWF-69:
---------------------------------------
Reporter: Niklas Gustavsson
Key: AWF-69 (was: DEFT-25)
Project: Apache AWF (was: Deft)
> Verify "Host" in Http header
> ----------------------------
>
> Key: AWF-69
> URL: https://issues.apache.org/jira/browse/AWF-69
> Project: Apache AWF
> Issue Type: Bug
> Reporter: Niklas Gustavsson
>
> Because of the urgency of implementing the new Host: header, servers are not
> allowed to tolerate HTTP 1.1 requests without it. If a server receives such a
> request, it must return a "400 Bad Request" response, like
> HTTP/1.1 400 Bad Request
> Content-Type: text/html
> Content-Length: 111
> <html><body>
> <h2>No Host: header received</h2>
> HTTP 1.1 requests must include the Host: header.
> </body></html>
> This requirement applies only to clients using HTTP 1.1, not any future
> version of HTTP. If the request uses an HTTP version later than 1.1, the
> server can accept an absolute URL instead of a Host: header (see next
> section). If the request uses HTTP 1.0, the server may accept the request
> without any host identification.
> See: http://www.jmarshall.com/easy/http/
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira