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

Technology

59374 readers
6873 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 content.
  3. Be excellent to each another!
  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, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 11 months ago (11 children)

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

[–] [email protected] 8 points 11 months 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

[–] [email protected] 1 points 11 months ago (5 children)

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

[–] [email protected] 6 points 11 months ago (1 children)

First language in Accept-Language header that server also support

[–] [email protected] -3 points 11 months 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)