Skip to content
Browse files

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

  • Loading branch information...
1 parent b584e8e commit 39c6a296615215e4156bacb06a4ec911c10219b6 @pepite pepite committed
BIN framework/lib/netty-3.4.2.Final.jar
Binary file not shown.
BIN framework/lib/netty-3.5.7.Final.jar
Binary file not shown.
2 framework/src/play/server/
@@ -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;

0 comments on commit 39c6a29

Please sign in to comment.
Something went wrong with that request. Please try again.