Merged branch 'jetty-9.2.x' into 'master'.
This commit is contained in:
commit
9cb21d1377
|
@ -241,7 +241,8 @@ public class HttpRequest implements Request
|
|||
@Override
|
||||
public Request agent(String agent)
|
||||
{
|
||||
return header(HttpHeader.USER_AGENT, agent);
|
||||
headers.put(HttpHeader.USER_AGENT, agent);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue