Does HTTP use TCP or UDP? Why?

Does HTTP use TCP or UDP? Why?

HTTP utilizes TCP association. In any case, HTTP utilizes just a single TCP association.

In HTTP, customer starts a HTTP session by opening a TCP association with the HTTP server with which it wishes to convey. It at that point sends ask for messages to the server, every one of which indicates a specific sort of activity that the client of the HTTP customer might want the server to take. The server reacts to the customer’s demand and sends the information which he needs. In any case, HTTP utilizes just a single TCP association i.e. from customer to server ,there is no TCP association from server to client.The server sends information to customer there is no certification that the customer will get it.If customer don’t get the information in the TTL ( time to live) ,it again make a demand for the information.

We require a dependable association from customer to server so server can get every one of the solicitations made by the client.There is no need of solid association from server to client.If customer doesn’t get the information what he asks for in the time ,he again makes demands for the information.