Hi, cmux has been working great for us. Recently we added a PATCH endpoint to our application and were surprised the HTTP1Fast matcher doesn't automatically match on PATCH.
Is there a particular reason for not including PATCH or is this an oversight?
All other methods are in there except PATCH and OPTIONS.
|
var defaultHTTPMethods = []string{ |
|
"OPTIONS", |
|
"GET", |
|
"HEAD", |
|
"POST", |
|
"PUT", |
|
"DELETE", |
|
"TRACE", |
|
"CONNECT", |
|
} |
Hi, cmux has been working great for us. Recently we added a PATCH endpoint to our application and were surprised the
HTTP1Fastmatcher doesn't automatically match on PATCH.Is there a particular reason for not including PATCH or is this an oversight?
All other methods are in there except PATCH
and OPTIONS.cmux/matchers.go
Lines 46 to 55 in 5ec6847