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
|
@Override
|
||||||
public Request agent(String agent)
|
public Request agent(String agent)
|
||||||
{
|
{
|
||||||
return header(HttpHeader.USER_AGENT, agent);
|
headers.put(HttpHeader.USER_AGENT, agent);
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue