Skip to content
Browse files

Fixing issue where PATCH requests aren't recognised

  • Loading branch information...
1 parent b404d07 commit e8255e2a8f1897dcea52418c5317c67be96bbdb0 @davidjb davidjb committed Aug 30, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 cherokee/header.c
2 cherokee/header.c
@@ -315,6 +315,8 @@ parse_method (cherokee_header_t *hdr, char *line, char *end, char **pointer)
detect_method (line, "GET", get)
case 'P':
+ detect_method (line, "PATCH", patch)
+ else
detect_method (line, "POST", post)
detect_method (line, "PUT", put)

0 comments on commit e8255e2

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