Skip to content
Browse files

Moving PATCH method detection down as method is less common

  • Loading branch information...
1 parent e6d7fa9 commit 01dc7c8fe42d94ccba0e08541900a5f881f099ac @davidjb davidjb committed
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)

0 comments on commit 01dc7c8

Please sign in to comment.
Something went wrong with that request. Please try again.