I am working on a DLNA Server using IIS as Server for media. Some DLNA Client sends a http HEAD request with a range Header :
Command: HEAD
+ URI: /RicDLNA/Streamer.ashx?media=/Videos/Guca%20Distant%20Trumpet/Gucha%20Distant%20Trumpet.mp4 ProtocolVersion: HTTP/1.1 Host: 192.168.1.100 range: bytes=0- transferMode.dlna.org: Streaming HeaderEnd: CRLF
I respond only with "Accept-Ranges Bytes". But IIS delivers a statuscode 416 error. It looks that this error Status prevents the client to continue.
- Is it allowed to send such a range Header in a HEAD request ?
- What shall i response that the client knows that ranges are supported and invoiding the IIS generated statuscode 416.
- Is there a possibility to override bad IIS statuscode with an OK status ?