forked from mirrors/kore
f6cd16c567
Kore will automatically detect if a route is a dynamic or static one so there is no need for the configuration options to differ anymore. |
||
---|---|---|
.. | ||
conf | ||
src | ||
.gitignore | ||
README.md |
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.