Top

How to work with HTTP Range Headers in WebAPI

August 30, 2017

Via: InfoWorld

HTTP 1.1 provides support for range headers – it allows you to specify range headers to enable the client to retrieve partial response. This can be used to retrieve partial content when working over HTTP. It’s a technique that’s widely used when streaming video files, for instance.

With this approach, rather than retrieving the entire data at one go, your application can retrieve the data partially, in chunks. This feature can be particularly helpful in scenarios when the client needs to recover the data from interrupted connections that might occur due to cancelled requests, or connections to the server that have been dropped.

Read More on InfoWorld