-
-
Notifications
You must be signed in to change notification settings - Fork 208
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
Question: UsingHead always returns 0 for Content-Length header even when explicitly specified #126
Comments
This is a restricted header: https://msdn.microsoft.com/en-us/library/78h415ay(v=vs.110).aspx |
@pmcilreavy Does this answer your question? |
Closing |
@StefH the documentation https://msdn.microsoft.com/en-us/library/78h415ay(v=vs.110).aspx says
But in this example the code attempts to set in the response. |
Solved, see NuGet 1.0.3.18 |
The response to a HEAD request should be the length of the file (without the actual body) so something like this (below) should return 1024 in the Content-Length response header but it always returns 0. Something internally must be overwriting my value of "1024" back to "0".
The text was updated successfully, but these errors were encountered: