Comment by eli

5 days ago

An HTTP Range request asks the server to send parts of a resource back to a client. Range requests are useful for various clients, including media players that support random access, data tools that require only part of a large file, and download managers that let users pause and resume a download.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Ran...

HTTP Range doesn't have anything to do with allowing a client to select a subset of fields.

  • The Range header isn't for requesting a subset of a resource from the server?

    • Let's say your REST endpoint returned an object with keys foo, bar, baz and quuz. How would you use HTTP Range to only select foo and baz?