kore/examples/headers
Joris Vink 384bc8fdd6 Default to only TLSv1.2 from now on.
Add configuration setting tls_version to specify if you
either want TLSv1.2 or TLSv1.0 or both.

The configuration options ssl_cipher and ssl_dhparam
have changed name to tls_cipher and tls_dhparam. There is
no fallback so you might have to update your configs.
2015-05-06 10:59:43 +02:00
..
conf Default to only TLSv1.2 from now on. 2015-05-06 10:59:43 +02:00
src Rename the two functions used to read/set headers. 2014-08-05 14:26:31 +02:00
.gitignore Add headers example 2014-08-04 20:06:59 +02:00
README.md Add headers example 2014-08-04 20:06:59 +02:00

README.md

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

Run:

	# kore 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.