setHeader (mk $ fromString "Server") doesn't change the Server header #130

ghost opened this Issue Apr 17, 2012 · 1 comment


None yet
1 participant

ghost commented Apr 17, 2012

The last line of my snap handler is

modifyResponse (setHeader (mk $ fromString "Server") $ fromString "server-name")

, but the Server header still is "Snap/". Other functions seem to be working fine, such as setContentType and setResponseCode. I've had the problem since I first tried using it, which I think was Snap 0.6. Adding a header doesn't seem to be a problem.



gregorycollins commented Apr 22, 2012

Fixed and released with, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment