Skip to content

Commit

Permalink
[#1582] - Response only prints first value of each Header
Browse files Browse the repository at this point in the history
  • Loading branch information
pepite committed Sep 18, 2012
1 parent b584e8e commit 39c6a29
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file removed framework/lib/netty-3.4.2.Final.jar
Binary file not shown.
Binary file added framework/lib/netty-3.5.7.Final.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion framework/src/play/server/PlayHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 39c6a29

Please sign in to comment.