4 ms·
> Personally, I think the biggest problem with HTTP is that its a file access protocol, a state interchange protocol and an authentication system. HTTP is a st
by kiitos 2y ago
> Personally, I think the biggest problem with HTTP is that its a file access protocol, a state interchange protocol and an authentication system.
HTTP is a state interchange protocol. It's not any of the other things you mention.
- KaiserPro 2y agoOk, if you want to be pedantic: "HTTP is being used as a file access, state interchange and authentication transport system" Ideally we would split them out into a dedicated file access, generic state pipe (ie websockets) and some sort of well documented, easy to understand, implement and secure authentication mechanism (how hard can that be!?) but to you point. HTTP was always mean to be stateless. You issue a GET request to find an object at a URI. That object was envisaged to be a file. (at least in HTTP 1.0 days) Only with the rise of CGI-bin in the middle 90s did that meaningfully change. However I'm willing to bet that most of the traffic over HTTP is still files. Hence the assertion.
- kiitos 2y agoWhat? HTTP is just a protocol. Stateful or stateless is orthogonal. HTTP is both and neither. Also, HTTP has no concept of files (in general), only resources. Files can be resources! Resources are not files.