Reviewers: [email protected]

Description:
Currently ServletUtil.fromHttpServletRequest() iterates over all the
header names and add the header value returned by getHeader(headerName).
But this is buggy because getHeader() method returns only 1 header
value, which is almost always the first header value for that
headerName.

This change refactors fromHttpServletRequest() to take multiple header
values for the same header name.

Please review this at http://codereview.appspot.com/1944044/show

Affected files:
 main/java/org/apache/shindig/gadgets/servlet/ServletUtil.java
 test/java/org/apache/shindig/gadgets/servlet/ServletUtilTest.java

Thanks
Gagan

Reply via email to