Skip to content

Commit

Permalink
Fix thinko in reading http cookies
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorycollins committed May 22, 2010
1 parent 1919e66 commit 5a41e0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Snap/Internal/Http/Server.hs
Expand Up @@ -445,7 +445,7 @@ receiveRequest = do

cookies = maybe []
(catMaybes . map parseCookie)
(Map.lookup "set-cookie" hdrs)
(Map.lookup "cookie" hdrs)

contextPath = "/"

Expand Down

0 comments on commit 5a41e0f

Please sign in to comment.