News for hackers. Stuff that matters.
Re:Defining a new HTTP method: HTTP Search (2021) by brabel on Saturday May 27, 2023 @02:43PM (#36097140)
Did you know that HTTP is an inherently stateless protocol?

From the very first line in the RFC[1]:

"The Hypertext Transfer Protocol (HTTP) is a stateless application- level protocol for distributed, collaborative, hypertext information systems."

Which is why you need to send a header every time you make a request with authorization data.

Given that: no, stateful methods like OPEN/CLOSE would not fit at all with how HTTP is designed to work.

[1] https://www.rfc-editor.org/rfc/rfc7231

There are no comments on this comment yet.