Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm doing the same kind of request to an IIS7 and IIS8 server, but I keep getting this 416 response

curl-7.23.1-win64-ssl-sspi>curl -H Range:bytes=16- -I http://my.local.host/dotnetrocks_0813_syme_battochi.mp3

HTTP/1.1 416 Requested Range Not Satisfiable
Content-Length: 45740117
Content-Type: audio/mpeg
Last-Modified: Wed, 24 Oct 2012 09:14:29 GMT
Accept-Ranges: bytes
ETag: "97ab9ff8c7b1cd1:0"
Server: Microsoft-IIS/8.0
X-Powered-By: ASP.NET
Date: Tue, 30 Oct 2012 18:54:31 GMT
Content-Range: bytes */0

The range is clearly within the file size, but I'm still not getting a 206 response. What am I missing here?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.