mirror of https://git.kore.io/kore.git
f5a58368b7
Introduce an on_headers callback for routes, allowing one to inspect the headers before the request is processed further. Additionall, Add a new way of obtaining HTTP headers. Much like http_argument_get_*() functions, these new APIs allow you to fetch the data of an HTTP header as a specified C type. The new APIs are: * http_request_header_int16() * http_request_header_uint16() * http_request_header_int32() * http_request_header_uint32() * http_request_header_int64() * http_request_header_uint64() * http_request_header_float() * http_request_header_double() Should make it easier to operate in HTTP header data in a safe way. No need to always roll your own string to int conversion functions. |
||
---|---|---|
.. | ||
accesslog.c | ||
acme.c | ||
auth.c | ||
bsd.c | ||
buf.c | ||
cli.c | ||
config.c | ||
connection.c | ||
curl.c | ||
domain.c | ||
filemap.c | ||
fileref.c | ||
http.c | ||
json.c | ||
jsonrpc.c | ||
keymgr.c | ||
kore.c | ||
linux.c | ||
log.c | ||
mem.c | ||
module.c | ||
msg.c | ||
net.c | ||
pgsql.c | ||
pool.c | ||
python.c | ||
route.c | ||
runtime.c | ||
seccomp.c | ||
tasks.c | ||
timer.c | ||
utils.c | ||
validator.c | ||
websocket.c | ||
worker.c |