http_method
if(h2_stream->http_method != HTTP_METHOD_GET &&
h2_stream->http_method != HTTP_METHOD_POST) {
if(h2_stream->http_method == HTTP_METHOD_POST)
if(h2_stream->http_method == HTTP_METHOD_POST)
if(h2_stream->http_method == HTTP_METHOD_UNSUPPORTED ||
if(!h2_stream->http_method && namelen == 7 &&
h2_stream->http_method = HTTP_METHOD_GET;
h2_stream->http_method = HTTP_METHOD_POST;
h2_stream->http_method = HTTP_METHOD_UNSUPPORTED;
if((!h2_stream->http_method ||
h2_stream->http_method == HTTP_METHOD_POST) &&
} http_method;
enum httpmethod http_method;
server_httpmethod_byid(desc->http_method), clt) == -1) {
if (desc->http_method != HTTP_METHOD_HEAD && clt->clt_fcgi.chunked &&
clt->clt_descreq->http_method
if (desc->http_method != HTTP_METHOD_HEAD) {
if (desc->http_method == HTTP_METHOD_GET) {
switch (desc->http_method) {
desc->http_method == HTTP_METHOD_HEAD || clenheader == NULL ?
desc->http_method = 0;
resp->http_method = desc->http_method;
if (size <= 0 || resp->http_method == HTTP_METHOD_HEAD) {
struct http_method method, *res = NULL;
const struct http_method *ma = a;
const struct http_method *mb = b;
server_httpmethod_byid(desc->http_method),
server_httpmethod_byid(desc->http_method),
if ((desc->http_method = server_httpmethod_byname(key))
} else if (desc->http_method != HTTP_METHOD_NONE &&
if (desc->http_method == HTTP_METHOD_NONE) {
switch (desc->http_method) {
static struct http_method http_methods[] = HTTP_METHODS;
enum httpmethod http_method;
if ((name = relay_httpmethod_byid(desc->http_method)) == NULL)
struct http_method method, *res = NULL;
const struct http_method *ma = a;
const struct http_method *mb = b;
((meth = relay_httpmethod_byid(desc->http_method)) != NULL) &&
(desc->http_method == HTTP_METHOD_RESPONSE ||
desc->http_method != r->rule_method))
desc->http_method = HTTP_METHOD_RESPONSE;
desc->http_method = relay_httpmethod_byname(key);
if (desc->http_method == HTTP_METHOD_NONE)
hmn->hmn_method = desc->http_method;
if (desc->http_method != HTTP_METHOD_NONE &&
switch (desc->http_method) {
if (desc->http_method == HTTP_METHOD_RESPONSE &&
if (desc->http_method == HTTP_METHOD_NONE) {
} else if (desc->http_method != HTTP_METHOD_GET) {
switch (desc->http_method) {
desc->http_method = 0;
static struct http_method http_methods[] = HTTP_METHODS;
if(h2_stream->http_method != HTTP_METHOD_GET &&
h2_stream->http_method != HTTP_METHOD_POST) {
if(h2_stream->http_method == HTTP_METHOD_POST)
if(h2_stream->http_method == HTTP_METHOD_POST)
if(h2_stream->http_method == HTTP_METHOD_UNSUPPORTED ||
if(!h2_stream->http_method && namelen == 7 &&
h2_stream->http_method = HTTP_METHOD_GET;
h2_stream->http_method = HTTP_METHOD_POST;
h2_stream->http_method = HTTP_METHOD_UNSUPPORTED;
if((!h2_stream->http_method ||
h2_stream->http_method == HTTP_METHOD_POST) &&
} http_method;