Browse files

document the cookies restriction with multiple values

  • Loading branch information...
1 parent 55e7374 commit 354d03e095d3e630b452a706a96d95182c226de5 @miyagawa miyagawa committed Sep 21, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/Plack/
6 lib/Plack/
@@ -435,6 +435,12 @@ using:
Returns a reference to a hash containing the cookies. Values are
strings that are sent by clients and are URI decoded.
+If there are multiple cookies with the same name in the request, this
+method will ignore the duplicates and return only the first value. If
+that causes issus for you, you may have to use modules like
+CGI::Simple::Cookie to parse C<$request->header('Cookies')> by
=item query_parameters
Returns a reference to a hash containing query string (GET)

0 comments on commit 354d03e

Please sign in to comment.