Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by johnfn

5 days ago

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

2 comments

johnfn

Reply

eli  5 days ago

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

  • johnfn  5 days ago

    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?

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities