kore/examples/headers
Joris Vink 46375303cb Allow multiple binds on new server directive. 2019-09-27 20:00:35 +02:00
..
conf Allow multiple binds on new server directive. 2019-09-27 20:00:35 +02:00
src Rework HTTP and worker processes. 2018-02-14 13:48:49 +01:00
.gitignore Add headers example 2014-08-04 20:06:59 +02:00
README.md kore -> kodev where appropriate 2017-03-06 11:00:53 +01:00

README.md

Example on how to read HTTP request headers and set your own custom ones.

Run:

	# kodev run

Test:

	# curl -H "X-Custom-Header: testing" -i -k https://127.0.0.1:8888

If X-Custom-Header is given, it will be mirrored in the response.