#contentnegotiation — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #contentnegotiation, aggregated by home.social.
-
> Not being content with alienating only the general purpose #JSON #API enthusiasts, let me now proceed to also alienate my erstwhile #hypermedia enthusiast allies by saying:
> I don’t think #contentNegotiation is typically the right approach to returning both JSON and #HTML for most applications.
https://htmx.org/essays/why-tend-not-to-use-content-negotiation/
-
Wednesday Links - Edition 2023-11-08
https://dev.to/0xkkocel/wednesday-links-edition-2023-11-08-5a4n
#java #jvm #eventstorming #kotlin #deadcode #docker #contentnegotiation #git -
Week 2 of our #kg2023 #OpenHPI MOOC course starts with the problem of How to identify and access Things (on the Web). Alas, the old trick with the apple comes into play. Watch our little performance in the video (Kudos to @sashabruns
video lecture: https://open.hpi.de/courses/knowledgegraphs2023/items/16D6R5GAnJSjommuAsF94x
#IRIs #semanticweb #designator #designatum #http #contentnegotiation
@tabea @fizise @enorouzi @heikef #MOOC #lecture @fiz_karlsruhe -
I don't understand Mastodon's content negotiation. This...
curl -v --header 'Accept: application/activity+json, */*;q=0.1' https://mastodon.social/@Gargron/109371848012783834
...returns a text/html response, but this...
curl -v --header 'Accept: application/activity+json' https://mastodon.social/@Gargron/109371848012783834
...returns an application/activity+json response.
With that `q=0.1`, in the first requests's Accept header, `application/activity+json` should have been the highest priority, so why isn't that what was returned?
-
Why I Consistently Reach for Server-Driven Content Negotiation (For Versioning)
Why I use server-driven content negotiation for APIs to allow for versioning and allowing different representations of APIs.
https://fed.brid.gy/r/https://www.jvt.me/posts/2021/01/05/why-content-negotiation/
-
Does anyone know why there is no way, in #Apache HTTP server using MultiViews, to have a generic typemap for *all* files, without having to enumerate them in the .var file? (Use case: I want to send PNG rather than PDF when both are available and the client sends Accept: */*.)