HTTP HEAD request with Range Header

后端 未结 2 745
失恋的感觉
失恋的感觉 2021-01-23 23:28

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

+

相关标签:
2条回答
  • 2021-01-23 23:57

    IIS 6.0 and IIS 7.0 will accept HEAD requests containing Range header (and will return status 206 expected by some media players such as the Popcorn Hour A-100).

    I recently needed to make IIS 7.5 treat those requests the same as IIS 6.0 / 7.0, and was able to do so using the Beta http.sys v6.1.7000.0 and pre-Beta static.dll v6.1.6801.0 (driver signature enforcement must be circumvented on 64-bit versions of Windows)

    0 讨论(0)
  • 2021-01-24 00:09

    In ietf.org RFC7233 section 3.1 Range you can find the excerpt

    A server must ignore a Range header field received with a request method other than GET

    To me this means as much as : you can make a range-request with a HEAD command, but your server must ignore it.

    0 讨论(0)
提交回复
热议问题