Merge branch 'master' of github.com:eclipse/jetty.project
This commit is contained in:
commit
637da1d7b7
|
@ -110,7 +110,7 @@ public abstract class HttpConnection implements Connection
|
|||
}
|
||||
|
||||
// If we are HTTP 1.1, add the Host header
|
||||
if (version.getVersion() > 10)
|
||||
if (version.getVersion() == 11)
|
||||
{
|
||||
if (!headers.containsKey(HttpHeader.HOST.asString()))
|
||||
headers.put(getHttpDestination().getHostField());
|
||||
|
|
Loading…
Reference in New Issue