http-party / http-server

a simple zero-configuration command-line http server
MIT License
13.42k stars 1.48k forks source link

Adding websocket upgrade support #795

Open taiidani opened 2 years ago

taiidani commented 2 years ago

Taking inspiration from https://github.com/http-party/http-server/pull/637 and attempting to address the changes requested from the PR review

Adding a handler for an "upgrade" request so that the proxy properly manages the connection to the downstream.

Relevant issues

Fixes #142.

Contributor checklist
Maintainer checklist
github-actions[bot] commented 1 year ago

This pull request has been inactive for 360 days