Re:“Cookies are small text files” – what? (2009)
by mr_mitm on Saturday August 06, 2022 @02:12PM
(#32370316)
How are they "still" files? The never have been files. They are some value that is part of the HTTP header. No one would call the HSTS value a text file, even though it's a string of printable bytes in the HTTP header that is stored somewhere on the hard drive by the browser, just like a cookie.
[ Parent
| on HN ]
Re:“Cookies are small text files” – what? (2009)
by throwaway09223 on Saturday August 06, 2022 @02:36PM
(#32370490)
What is your definition of "file" that precludes calling these text files, files?
The word "file" has a very broad definition. HTTP/0.9 itself could be accurately described as a protocol for sending a text file as a query and receiving one in response. A basic HTTP client can be implemented by reading and writing files into netcat.
The entire HTTP header is a text file.