Skip to content

Commit c58f5b8

Browse files
committed
Merge pull request #21 from reizenikker/master
OPTIONS request,
2 parents dbff675 + a4dd5f0 commit c58f5b8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ext/http.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,8 @@ bool HttpConnection_t::_DetectVerbAndSetEnvString (const char *request, int verb
543543
"POST",
544544
"PUT",
545545
"DELETE",
546-
"HEAD"
546+
"HEAD",
547+
"OPTIONS"
547548
};
548549

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

0 commit comments

Comments
 (0)