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

Closed
ghost opened this Issue Apr 17, 2012 · 1 comment

Comments

Projects
None yet
1 participant
@ghost

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/0.8.0.1". 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.

Jeff

Owner

gregorycollins commented Apr 22, 2012

Fixed and released with 0.8.1.1, thanks.

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