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

upload file to a remote nginx-proxied server failed #66

Closed
kamikat opened this issue Jun 26, 2013 · 2 comments
Closed

upload file to a remote nginx-proxied server failed #66

kamikat opened this issue Jun 26, 2013 · 2 comments

Comments

@kamikat
Copy link

kamikat commented Jun 26, 2013

when using .attatch('<key>', '<filename>'); to make a file upload request to the remote server ( var driver = request('http://remotehost') ) behind Nginx, test failed with error

Error: expected 200 "OK", got 411 "Length Required"

Access the server directly does not occur the problem.

@gjohnson
Copy link
Contributor

Does this happen when you use superagent too?

@kamikat
Copy link
Author

kamikat commented Oct 21, 2013

Yes, it happen when use superagent.

@kamikat kamikat closed this as completed Oct 21, 2013
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

2 participants