With the server running, attempt to send a request to POST http://localhost:8080 with Postman (using the default headers). Notice that going to Headers, clicking "7 hidden" and then un-checking Content-Length: 0 will allow the request to be processed successfully.
Alternatively, you can run the following code in the browser which also will cause the request to timeout:
First of all thank you so much for this project, it's amazing!
The hello world server seems to be timing out depending on the headers sent:
Steps to repro
1. Compile and run the server:
2. Make a request
With the server running, attempt to send a request to POST http://localhost:8080 with Postman (using the default headers). Notice that going to Headers, clicking "7 hidden" and then un-checking
Content-Length: 0
will allow the request to be processed successfully.Alternatively, you can run the following code in the browser which also will cause the request to timeout:
While this seems to work OK:
Note that removing
body
or makingbody: ""
also will cause a timeout.Let me know if there's anything I should be doing to fix this. Thanks!