this post was submitted on 12 Dec 2023
1107 points (96.6% liked)

Technology

74381 readers
3317 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] essteeyou@lemmy.world 4 points 2 years ago (11 children)

There are qualities that are useful for having different responses, like supported language, whether the browser accepts gzipped content, etc.

[–] spiderplant@lemm.ee 8 points 2 years ago (9 children)

Fuck that shit.

  • You can do language codes in the URL to serve different versions of content
  • If your browser can do TLS then it should be able to handle gzip content or alternatively if the internet didn't allow cookies and scripting in your browser then it would have been safe to use TLSs built in compression

Check out the Gemini protocol if you want to see that a lot of HTTP spec stuff is completely unnecessary

[–] essteeyou@lemmy.world 1 points 2 years ago (5 children)

So if I type in "google.com" what language should the front page be in?

[–] theterrasque 6 points 2 years ago (1 children)

First language in Accept-Language header that server also support

[–] essteeyou@lemmy.world -3 points 2 years ago

Yeah, User Agent is also a header, which the other guy is saying shouldn't exist.

load more comments (3 replies)
load more comments (6 replies)
load more comments (7 replies)