Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing issue where PATCH requests aren't recognised

  • Loading branch information...
commit e8255e2a8f1897dcea52418c5317c67be96bbdb0 1 parent b404d07
David Beitey davidjb authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  cherokee/header.c
2  cherokee/header.c
View
@@ -315,6 +315,8 @@ 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)
Please sign in to comment.
Something went wrong with that request. Please try again.