projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
- fix "UNKNOWN" for unknown request methods
[m6w6/ext-http]
/
http_request_method_api.c
diff --git
a/http_request_method_api.c
b/http_request_method_api.c
index a2197c6425324305a4bfb6b15c10d14b48bb2048..595a1de5bfb7e39b01e93eb8d8e1447ee1826fb0 100644
(file)
--- a/
http_request_method_api.c
+++ b/
http_request_method_api.c
@@
-35,7
+35,7
@@
ZEND_EXTERN_MODULE_GLOBALS(http);
/* {{{ char *http_request_methods[] */
static const char *const http_request_methods[] = {
- "UNKOWN",
+ "UNK
N
OWN",
/* HTTP/1.1 */
"GET",
"HEAD",