Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Defining a new HTTP method: HTTP Search (2021). Parent comment
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.
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