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
HEAD requests make "Error: unexpected end of file" #319
Comments
Works fine for me:
|
What's your Newman version? Are you behind a corporate proxy or something? |
I'm not behind any proxy. I tried with these combinations but nothing worked.
Newman works well with GET or POST requests.
Node 5+ could be the cause of this problem? |
Looks like yes. This seems to be an issue in https://www.npmjs.com/package/request (which newman uses internally). I will do some further investigation before opening an issue on the downstream. |
Opened an issue with the downstream: request/request#2045 |
Thank you! |
When I try to make a HTTP HEAD request, Newman makes an error:
The request works well in Postman. You can test it with this collection URL https://www.getpostman.com/collections/d5ec4973f044fe002171, which sends HEAD requests to google.com, github.com, and amazon.com.
Thank you.
The text was updated successfully, but these errors were encountered: