News for hackers. Stuff that matters.
Re:Tell HN: Server error (5xx) in Google Search Console may ... by kevin_nisbet on Wednesday August 14, 2024 @05:25PM (#41250672)
Is there any possibility there is a problem with the 429 response? So something is converting to say a bad gateway error because it doesn’t like the 429?

Not trying to criticize if this was already checked. Just something I’d try to double check out of being overly cautious.

Re:Tell HN: Server error (5xx) in Google Search Console may ... by spiznnx on Wednesday August 14, 2024 @06:10PM (#41251041)
with spammed curl -i, I get

  Too many requests, please try again later.HTTP/2 429 
  date: Wed, 14 Aug 2024 22:09:40 GMT
  content-type: text/html;charset=UTF-8
  expires: Thu, 19 Nov 1981 08:52:00 GMT
  cache-control: no-store, no-cache, must-revalidate
  pragma: no-cache
  retry-after: 3600
  vary: Accept-Encoding
  set-cookie: PHPSESSID=b25ece07c8923fa6b66b14599e1ed545; path=/
  cf-cache-status: DYNAMIC
  report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=z4hhYJcawKduyEdIbsTqPNE6k1o7YSkmMFlcDvDfe%2BvU7V8B%2FFJj4mItPssnI96kp1Ot%2B7jadmhYVWC%2BpAKG4zrqN%2FG6cY7KXDJJtFH2gQwQCNwGfS6Rbsu4xOCnMhoyT7U%3D"}],"group":"cf-nel","max_age":604800}
  nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
  server: cloudflare
  cf-ray: 8b3445445e51f93d-SJC
Expires header in the past seems suspect. And all the header names are lowercased.
Re:Tell HN: Server error (5xx) in Google Search Console may ... by jkrejcha on Wednesday August 14, 2024 @06:20PM (#41251139)
It's usually used to prevent caching from older caching systems.

Fun fact: this specific value of Expires is the birthday of Sasha Schumann, the person who added this code to PHP[1][2].

[1]: https://stackoverflow.com/a/8194500/2805120

[2]: https://github.com/php/php-src/blob/master/ext/session/sessi...

Re:Tell HN: Server error (5xx) in Google Search Console may ... by nsheridan on Wednesday August 14, 2024 @06:16PM (#41251101)
Expires header in the past is typically used to prevent caching.

The lower-case headers is part of the http2 specification.

Re:Tell HN: Server error (5xx) in Google Search Console may ... by niloc132 on Thursday August 15, 2024 @02:12PM (#41258840)
Lower case headers are required for http/2 requests and responses.
Re:Tell HN: Server error (5xx) in Google Search Console may ... by santah on Thursday August 15, 2024 @12:40AM (#41253129)
I can't find a problem with the 429 ...