projects
/
project
/
uhttpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ubus: add CORS header support
[project/uhttpd.git]
/
client.c
diff --git
a/client.c
b/client.c
index
3a6b09e
..
9b8fb07
100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-39,6
+39,7
@@
const char * const http_methods[] = {
[UH_HTTP_MSG_GET] = "GET",
[UH_HTTP_MSG_POST] = "POST",
[UH_HTTP_MSG_HEAD] = "HEAD",
+ [UH_HTTP_MSG_OPTIONS] = "OPTIONS",
};
void uh_http_header(struct client *cl, int code, const char *summary)