tapio / live-server

A simple development http server with live reload capability.
http://tapiov.net/live-server/
4.41k stars 484 forks source link

Support for POST #357

Open r03ert0 opened 3 years ago

r03ert0 commented 3 years ago

Issue description

live-server does not support POST, however @devSonicgirl has a simple fix that makes POST possible \o/

https://github.com/tapio/live-server/issues/222

Would it be possible to integrate this to the main repo? (not to have to run a hacked version of live-server...)

rpaterson commented 3 years ago

I started to write a PR but then realized my issue was actually something else. I'm not sure how much sense it makes to support POST in this way. If the live-reload script is injected in to the POST response, then any change to the source file with POST again.

POST is already supported by the --proxy option.