News for hackers. Stuff that matters.
Re:Serve Markdown to AI Agents with Accept Headers by 9dev on Thursday August 27, 2026 @07:59AM (#49463354)
Not necessarily. They could also send a HEAD request to the URL first, to see the headers only and decide on the available alternates.

I am well aware that few sites are taking that much care of their API in terms of HTTP features, but all of the problems discussed here have solid and battle-tested answers.

Re:Serve Markdown to AI Agents with Accept Headers by _heimdall on Friday August 28, 2026 @01:32AM (#49474715)
The parent was referring to adding `link` tags in the `<head>`, not in HTTP headers.
Re:Serve Markdown to AI Agents with Accept Headers by 9dev on Friday August 28, 2026 @02:32AM (#49475070)
I realised that after posting, but then I suggested sending them as header in the first place.