WebSocketListener icon indicating copy to clipboard operation
WebSocketListener copied to clipboard

Forward Non-GET request to HttpFallback

Open andrewmd5 opened this issue 6 years ago • 2 comments

Hi,

I'd like to request a few small enhancements to the HttpFallback functionality. Currently, it only supports GET request, all other requests such as HEAD, OPTIONS or POST end with an exception. It would be useful if these requests were routed to the HttpFallback handler.

In our use case, we would be using standard HTTP calls such as a HEAD request for service discovery.

andrewmd5 avatar Jul 05 '18 10:07 andrewmd5

Hi @Codeusa! I reviewed original @vtortola code and found that there is no easy way to do this. Perhaps later, I will move some of the request parsing code from another project. But it will not be in the near future. A couple of months maybe.

deniszykov avatar Jul 05 '18 17:07 deniszykov

We're going to fork on our end and give it a shot as a possible pull request. I'll keep you updated.

andrewmd5 avatar Jul 10 '18 01:07 andrewmd5