News for hackers. Stuff that matters.
Re:Show HN: TinyClock – a tiny true 5-arch universal Mac OS ... by Karellen on Wednesday September 07, 2022 @02:36PM (#32754477)
Because sending different content based on the content-type the user-agent asks for, e.g. with the "Accept:" header, has explicitly been part of the HTTP spec since version 1.1 in 1997?

https://datatracker.ietf.org/doc/html/rfc2068#section-12

https://datatracker.ietf.org/doc/html/rfc2068#section-14.1

See also https://developer.mozilla.org/en-US/docs/Web/HTTP/Content_ne...

(FWIW - I don't know if that's how `bzr` does this, but it might, and the concept is 25 years old now.)

Edit: s/different content/different representations of the same resource/

Re:Show HN: TinyClock – a tiny true 5-arch universal Mac OS ... by unwind on Wednesday September 07, 2022 @03:23PM (#32755354)
True of course, didn't think about that. I'm not a web developer. :) Still think it's weird and kind of against my feeling for the spirit of a URI, but that's just me. Thanks.