gloo icon indicating copy to clipboard operation
gloo copied to clipboard

Support Extended HTTP Methods

Open guydc opened this issue 4 years ago • 1 comments

Is your feature request related to a problem? Please describe. Envoy does not support extended HTTP methods. This limitation is related to the envoy http parser: https://github.com/envoyproxy/envoy/issues/5155#issuecomment-957814532. Several protocols use extended HTTP methods, like WebDAV. The IANA http method registry mentions several methods that are not supported by envoy, like LABEL, UPDATE, CHECKIN, etc.

Describe the solution you'd like

  • Support for all IANA registry methods
  • Support for custom (arbitrary) HTTP methods

Describe alternatives you've considered Exposing HTTP services that use custom HTTP methods with a TCP Gateway. This is not ideal, since HTTP request processing features cannot be applied to such services.

Additional context

  • https://github.com/nodejs/http-parser/issues/92
  • https://github.com/nodejs/llhttp/issues/11
  • list of supported methods in http-parser: https://github.com/nodejs/http-parser/blob/ec8b5ee63f0e51191ea43bb0c6eac7bfbff3141d/http_parser.h#L165

┆Issue is synchronized with this Asana task by Unito

guydc avatar Nov 16 '21 16:11 guydc