Skip to content
This repository
Browse code

Fixing issue where PATCH requests aren't recognised

  • Loading branch information...
commit e8255e2a8f1897dcea52418c5317c67be96bbdb0 1 parent b404d07
David Beitey authored

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  cherokee/header.c
2  cherokee/header.c
@@ -315,6 +315,8 @@ parse_method (cherokee_header_t *hdr, char *line, char *end, char **pointer)
315 315
 		detect_method (line, "GET", get)
316 316
 		break;
317 317
 	case 'P':
  318
+		detect_method (line, "PATCH", patch)
  319
+		else
318 320
 		detect_method (line, "POST", post)
319 321
 		else
320 322
 		detect_method (line, "PUT", put)

0 notes on commit e8255e2

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