X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuhttpd.git;a=blobdiff_plain;f=client.c;h=9b8fb07025037a30c52548f1e006bb4042a01c81;hp=3a6b09eea20b36b23cf59c05714c55f85fc18b6f;hb=b965b8cc10f094ec0408d57b1bc9aeee0bca501c;hpb=cd66639800ee2882a0867ec54868502eb9b893d8 diff --git a/client.c b/client.c index 3a6b09e..9b8fb07 100644 --- 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)