When I come to HN, this is what I'm always hoping to see. Lots are here for startup news, FAANG, etc. Nope, I just want to see really, really cool fun things.
For posterity, below is the output when the command is run:
$ curl --head https://ja.cob.land/http2-204
HTTP/2 204
date: one of those frigid Saturdays in November
age: just turned 27
location: Messina's Trailer Park on Southside Drive
trailer: 1967 Elcona single-wide (not as bad as it sounds)
server: at the Neptune Diner until I can get published
content-disposition: in the late autumn of my discontent
accept-patch: if it contains nicotine
tk: oh shit I should put something here
expires: in my sleep I hope
One project I have had in mind for many years is a direct two-way, user-to-user communication protocol or user convention that only uses HTTP request headers. One benefit would be easier-to-write clients and logging servers. There would be no need for the complexity of, and hence third party control over, a "web browser", nor the need to learn skills (HTML, CSS, Javascript, etc.) to develop and maintain a website. Users could communicate and transfer small data directly via sending and logging HTTP requests.
If one is a avid reader of HTTP server logs, one might conclude there is a susbtantial amount of text being transfered over the internet via HTTP headers. However, almost all of it is intended for use by persons other than users. To me, as a user, this seems like a waste.
This is lovely! A long time ago in a galaxy far, far away, much interesting content on the web was only found in source, but this is another level of elegance.
I guess it depends on what you consider a default header. (I’m not too familiar with standards here; there may be some IETF definition you’re referring to?)
It turns out if you have enough control over your server you can make it do a lot of things! (Which may or may not conform to a spec.)
Wow.
[0]: https://www.rfc-editor.org/rfc/rfc6648