handle http/1 host header in http/2
This commit is contained in:
parent
20925ded97
commit
48d68a4916
|
@ -113,6 +113,12 @@ public class MetaDataBuilder
|
|||
_authority=(field instanceof HostPortHttpField)?((HostPortHttpField)field):new AuthorityHttpField(field.getValue());
|
||||
break;
|
||||
|
||||
case HOST:
|
||||
if (_authority==null)
|
||||
_authority=(field instanceof HostPortHttpField)?((HostPortHttpField)field):new AuthorityHttpField(field.getValue());
|
||||
_fields.add(field);
|
||||
break;
|
||||
|
||||
case C_PATH:
|
||||
_path = field.getValue();
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue