purescript-httpurple/Documentation/Examples/Headers/Readme.md
Connor Prussin 44df22e331 #22 add support for writing headers and status (#32)
* Add support for writing status code

* Add support for writing headers

* Code cleanup
2017-07-17 16:42:13 -07:00

221 B

Headers Example

This is a basic example of working with headers. It will return the 'X-Example' response header with the value 'hello world!'.

To run the example server, run:

make example EXAMPLE=Headers