Skip to content

Commit b8388e3

Browse files
committed
added OPTIONS to list of supported verbs.
1 parent 9e8e7fc commit b8388e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/http.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,8 @@ bool HttpConnection_t::_DetectVerbAndSetEnvString (const char *request, int verb
572572
"POST",
573573
"PUT",
574574
"DELETE",
575-
"HEAD"
575+
"HEAD",
576+
"OPTIONS"
576577
};
577578

578579
int n_verbs = sizeof(verbs) / sizeof(const char*);

0 commit comments

Comments
 (0)