File: README.md

package info (click to toggle)
kore 4.2.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,912 kB
  • sloc: ansic: 29,227; makefile: 344; sh: 278; python: 149; cpp: 34
file content (13 lines) | stat: -rw-r--r-- 250 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
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.