Permalink
Browse files

Support the cookie header

  • Loading branch information...
1 parent 1fea2d2 commit c3a51f8a71fa327e2e14ef5fee71eb8dedcf9f18 @jhs jhs committed Dec 6, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/somdune_cgi.erl
View
@@ -40,6 +40,7 @@ env_for_request(Req, raw)
, [ {"REQUEST_METHOD" , Method}
, {"GATEWAY_INTERFACE", "CGI/1.1"}
, {"PATH_TRANSLATED" , FullPath}
+ , {"HTTP_COOKIE" , somdune_net:header(Req, 'Cookie')}
, {"QUERY_STRING" , binary_to_list(erlang:iolist_to_binary(AfterQMark))}
, {"CONTENT_LENGTH" , somdune_net:header(Req, 'Content-Length')}
]

0 comments on commit c3a51f8

Please sign in to comment.