Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[#1582] - Response only prints first value of each Header

  • Loading branch information...
commit 39c6a296615215e4156bacb06a4ec911c10219b6 1 parent b584e8e
Nicolas Leroux pepite authored
BIN  framework/lib/netty-3.4.2.Final.jar
View
Binary file not shown
BIN  framework/lib/netty-3.5.7.Final.jar
View
Binary file not shown
2  framework/src/play/server/PlayHandler.java
View
@@ -313,7 +313,7 @@ protected static void addToResponse(Response response, HttpResponse nettyRespons
for (Map.Entry<String, Http.Header> entry : headers.entrySet()) {
Http.Header hd = entry.getValue();
for (String value : hd.values) {
- nettyResponse.setHeader(entry.getKey(), value);
+ nettyResponse.addHeader(entry.getKey(), value);
}
}
Map<String, Http.Cookie> cookies = response.cookies;
Please sign in to comment.
Something went wrong with that request. Please try again.