The safe/unsafe Web and what’s that X-Bender header?

It’s been very refreshing to see recent discussions about why/how the Web works moving away from the REST vs SOA argument, or POX vs WS, or how cool AJAX is. Here are few links to get you started:

While re-educating myself about the Web, I’ve discovered a collection of notes on the W3C site which I highly recommend. Most of the notes (if not all) are written by Tim Burners-Lee and they capture discussions, thoughts and considerations about the architecture of the Web. It’s very interesting to examine the Web without any MEST or REST goggles on. We have to remind ourselves that the Web as we know it today worked in exactly the same way even before REST was around.

It’s worth highlighting again the importance of safe vs unsafe operations. ‘Safe’ does not mean ‘lack of side effects’ (a usual misconception which at some point I was guilty of also having) but, instead, ‘safe’ is defined as the absence of an obligation by a user to make a commitment with regards to a performed action. GET is a safe operation because of that reason and has nothing to do with the state representation of a resource. Safety is about the (lack of) conceptual flow of commitments.

And finally, something fun… As I was playing with some prototyping code related to GET, I was looking for the caching-related headers in responses from some popular sites. As I was examining the headers returned by Slashdot, I saw one called ‘X-Bender’ followed by a quote. The quote used very familiar language 🙂 After few more GETs and the appearance of another header called ‘X-Fry’, it was obvious what was going on: Slashdot returns quotes from Futurama as HTTP headers 🙂

Recent Posts

BrainExpanded – Copilot

Happy New Year everyone! I was planning for my next BrainExpanded post to be a…

1 week ago

BrainExpanded – The Timeline

See "BrainExpanded - Introduction" for context on this post. Notes and links Over the years,…

3 weeks ago

BrainExpanded – Introduction

This is the first post, in what I think is going to be a series,…

3 weeks ago

Digital twin follow up

Back in February, I shared the results of some initial experimentation with a digital twin.…

1 month ago

Digital Twin (my playground)

I am embarking on a side project that involves memory and multimodal understanding for an…

11 months ago

“This is exactly what LLMs are made for”

I was in Toronto, Canada. I'm on the flight back home now. The trip was…

1 year ago