danisroyi Posted September 14, 2010 Posted September 14, 2010 I have a generic question which is related to the HTTP protocol (or any other protocol for that matter)I know that HTTP is stateless. Does this mean that it is also async ? Is there any correlation between stateless/statefull and async/sync ?Or are they independent mechanisms ?Thanks in advance,Dani
cluberti Posted September 14, 2010 Posted September 14, 2010 Independent. You can have both types of HTTP connections, and it is really dependent on what the HTTP call is for - for example, an xmlhttp request over http can be synchronous or asynchronous, depending on how it was written. HTTP will behave as it is told to do so by the client and/or server using the protocol for communication, not to mention the encoding, keep-alive, pipelining, etc.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now