Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move response fixup code from snap-server to snap-core.
This ensures that as far as HTTP headers go, the response generated by Snap.Test.runHandler is as close as possible to what will be sent out over the socket (excepting chunked transfer-encoding). Fixes #145.
- Loading branch information
1 parent
4473e1c
commit 64a9e77
Showing
2 changed files
with
58 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters