2 +--------------------------------------------------------------------+
4 +--------------------------------------------------------------------+
5 | Redistribution and use in source and binary forms, with or without |
6 | modification, are permitted provided that the conditions mentioned |
7 | in the accompanying LICENSE file are met. |
8 +--------------------------------------------------------------------+
9 | Copyright (c) 2004-2011, Michael Wallner <mike@php.net> |
10 +--------------------------------------------------------------------+
13 #include "php_http_api.h"
15 PHP_HTTP_API
int php_http_request_method_is(const char *meth
, int argc
, ...)
24 for (i
= 0; i
< argc
; ++i
) {
25 const char *test
= va_arg(argv
, const char *);
27 if (!strcasecmp(meth
, test
)) {
43 * vim600: noet sw=4 ts=4 fdm=marker
44 * vim<600: noet sw=4 ts=4