Merged branch 'jetty-9.2.x' into 'master'.

This commit is contained in:
Simone Bordet 2014-10-23 12:42:00 +02:00
commit 9cb21d1377
1 changed files with 2 additions and 1 deletions

View File

@ -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