As far as I’m concerned, Ajax provides a workaround for behaving like connection-oriented with HTTP protocol. But why wasn’t HTTP protocol designed to be connection-oriended at first?
As far as I’m concerned, Ajax provides a workaround for behaving like connection-oriented with
Share
Because it was intended to be used for things where connections do not make sense.
It was designed as a HyperText Transfer Protocol, which means its responsibility was simply to allow the sending of messages of the form “please send me document X”, and “here is document X, as you requested”.
What should such a protocol use a persistent connection for?