Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Moving PATCH method detection down as method is less common

  • Loading branch information...
commit 01dc7c8fe42d94ccba0e08541900a5f881f099ac 1 parent e6d7fa9
@davidjb davidjb authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 cherokee/header.c
View
4 cherokee/header.c
@@ -315,14 +315,14 @@ parse_method (cherokee_header_t *hdr, char *line, char *end, char **pointer)
detect_method (line, "GET", get)
break;
case 'P':
- detect_method (line, "PATCH", patch)
- else
detect_method (line, "POST", post)
else
detect_method (line, "PUT", put)
else
detect_method (line, "PURGE", purge)
else
+ detect_method (line, "PATCH", patch)
+ else
detect_method (line, "POLL", poll)
else
detect_method (line, "PROPFIND", propfind)
Please sign in to comment.
Something went wrong with that request. Please try again.