Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http-proxy example HTTP/1.1 100 Continue response #273

Closed
GopherJ opened this issue Mar 18, 2020 · 2 comments
Closed

http-proxy example HTTP/1.1 100 Continue response #273

GopherJ opened this issue Mar 18, 2020 · 2 comments

Comments

@GopherJ
Copy link

GopherJ commented Mar 18, 2020

I was trying to proxy some requests of my server. I used similar code from http-proxy example but got HTTP/1.1 100 continue.

without proxy:

HTTP/1.1 100 Continue

HTTP/1.1 200 OK
Vary: Origin
Access-Control-Allow-Origin: http://localhost:8080
Content-Type: application/json; charset=utf-8
Content-Length: 53
Date: Sat, 21 Mar 2020 17:01:12 GMT
Connection: keep-alive

{"status":"success","message":"updated"}%  

with proxy:

HTTP/1.1 100 Continue

HTTP/1.1 100 Continue
vary: Origin
access-control-allow-origin: http://localhost:8080
access-control-allow-credentials: true
date: Sat, 21 Mar 2020 17:01:35 GMT

curl: (52) Empty reply from server
@GopherJ GopherJ changed the title http-proxy example returns HTTP/1.1 100 Continue http-proxy example HTTP/1.1 100 Continue response Mar 18, 2020
@GopherJ
Copy link
Author

GopherJ commented Mar 21, 2020

See also #188, http-proxy doesn't seem to be correct.

@GopherJ
Copy link
Author

GopherJ commented Mar 25, 2020

Closed because it seems to be an error only with curl and it works for postman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant