When did Date become date? A tongue-in-cheek query #17742
Replies: 2 comments
-
https://xkcd.com/927/ explains it all Also http headers are supposed to be case agnostic, but that is just a RFC, so comments are invited |
Beta Was this translation helpful? Give feedback.
-
15 standards, classic! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Back in 2023, when you couldn't timeout urequests on an esp32, I wrote my own stripped down version that I called in a thread that I could timeout. Because of my woeful ignorance at the time I knew bugger all about the likes of r.headers so I got the server reply timestamp by searching for 'Date' in the incoming bytestream.
Two years later and the shakers & movers have remade upython so much I hardly recognise it, kernel panics are just a bad memory & the libraries are mostly functional.
So today I happened to run a code block that, you guessed it, used my old jerry rigged requests and it crashed. Turns out these days 'date' not 'Date' signifies the imminent arrival of the server reply timestamp. I mean who cares, right? Just import urequests & use that. But I can't help wonder, who makes a change like that in the tcp/ip ecosystem & why?
Beta Was this translation helpful? Give feedback.
All reactions