Answer in Web Development for pooja #259120

a) Explain the following with the help of a diagram/example, if needed: 

(i) HTTP methods

HTTP is based on the “client-server” technology, that is, it is assumed that:

Consumers (clients) who initiate the connection and send the request;

Providers (servers) that are waiting for a connection to receive a request, take the necessary actions and return a message with the result.

HTTP is now ubiquitous on the World Wide Web to retrieve information from websites. In 2006, in North America, the share of HTTP traffic exceeded the share of P2P networks and amounted to 46%, of which almost half is streaming video and audio [1].

HTTP is also used as a “transport” for other application-layer protocols such as SOAP, XML-RPC, WebDAV.

The main object of manipulation in HTTP is the resource pointed to by the URI (Uniform Resource Identifier) ​​in the client request. Typically, these resources are files stored on the server, but they can be logical objects or something abstract. A feature of the HTTP protocol is the ability to specify in the request and response the way of representing the same resource by various parameters: format, encoding, language, etc. (in particular, the HTTP header is used for this). It is thanks to the ability to specify how the message is encoded that the client and server can exchange binary data, although this protocol is textual.

HTTP – Application Layer Protocol; similar to it are FTP and SMTP. Messages are exchanged according to the usual “request-response” scheme. HTTP uses global URIs to identify resources. Unlike many other protocols, HTTP is stateless. This means that there is no preservation of an intermediate state between request-response pairs. Components using HTTP can independently store state information associated with recent requests and responses (for example, “cookies” on the client-side, “sessions” on the server-side). The requesting browser can track response delays. The server can store the IP addresses and request headers of the latest clients. However, the protocol itself is not aware of previous requests and responses, it does not provide internal state support, and it does not have such requirements.

Most protocols provide for the establishment of a TCP session, during which authorization occurs once, and further actions are performed in the context of this authorization. HTTP, on the other hand, establishes a separate TCP session for each request; in later versions of HTTP, it was allowed to make multiple requests during a single TCP session, but browsers usually only request the page and the objects included in it (images, cascading styles, etc.), and then immediately terminate the TCP session. To support authorized (non-anonymous) access, HTTP uses cookies; Moreover, this method of authorization allows you to save the session even after rebooting the client and server.

When accessing data via FTP or file protocols, the file type (more precisely, the type of data it contains) is determined by the file name extension, which is not always convenient. Before sending the data itself, HTTP passes the “Content-Type: type/subtype” header, which allows the client to unambiguously determine how to process the sent data. This is especially important when working with CGI scripts when the file name extension indicates not the type of data sent to the client, but the need to run this file on the server and send the client the results of the program written in this file (while the same file in depending on the request arguments and its own considerations, it can generate responses of different types – in the simplest case, pictures in different formats).

In addition, HTTP allows the client to send parameters to the server that will be passed to the CGI script being run. For this, forms were introduced in HTML.

These features of HTTP allowed the creation of search engines (the first of which was AltaVista, created by DEC), forums, and Internet shops. This commercialized the Internet, companies emerged whose main field of activity was the provision of Internet access (providers) and the creation of websites.

Calculate the price
Make an order in advance and get the best price
Pages (550 words)
*Price with a welcome 15% discount applied.
Pro tip: If you want to save more money and pay the lowest price, you need to set a more extended deadline.
We know how difficult it is to be a student these days. That's why our prices are one of the most affordable on the market, and there are no hidden fees.

Instead, we offer bonuses, discounts, and free services to make your experience outstanding.
How it works
Receive a 100% original paper that will pass Turnitin from a top essay writing service
step 1
Upload your instructions
Fill out the order form and provide paper details. You can even attach screenshots or add additional instructions later. If something is not clear or missing, the writer will contact you for clarification.
Pro service tips
How to get the most out of your experience with TheBestPaperWriters
One writer throughout the entire course
If you like the writer, you can hire them again. Just copy & paste their ID on the order form ("Preferred Writer's ID" field). This way, your vocabulary will be uniform, and the writer will be aware of your needs.
The same paper from different writers
You can order essay or any other work from two different writers to choose the best one or give another version to a friend. This can be done through the add-on "Same paper from another writer."
Copy of sources used by the writer
Our college essay writers work with ScienceDirect and other databases. They can send you articles or materials used in PDF or through screenshots. Just tick the "Copy of sources" field on the order form.
See why 20k+ students have chosen us as their sole writing assistance provider
Check out the latest reviews and opinions submitted by real customers worldwide and make an informed decision.
Thanks a lot the paper was excellent
Customer 452453, October 26th, 2022
English 101
Very good job. I actually got an A
Customer 452443, September 25th, 2022
Business Studies
Job well done. Finish paper faster than expected. Thank you!
Customer 452451, October 3rd, 2022
Job well done and completed in a timely fashioned!
Customer 452451, November 18th, 2022
excellent loved the services
Customer 452443, September 23rd, 2022
The paper was EXCELLENT. Thank you
Customer 452449, September 23rd, 2022
Business Studies
Thank you!
Customer 452451, November 27th, 2022
Business Studies
Excellent service - thank you!
Customer 452469, February 20th, 2023
Excellent services will definitely come back
Customer 452441, September 23rd, 2022
Public Administration
Excellent timely work
Customer 452451, April 19th, 2023
Architecture, Building and Planning
The assignment was well written and the paper was delivered on time. I really enjoyed your services.
Customer 452441, September 23rd, 2022
Customer reviews in total
Current satisfaction rate
3 pages
Average paper length
Customers referred by a friend
15% OFF your first order
Use a coupon FIRST15 and enjoy expert help with any task at the most affordable price.
Claim my 15% OFF Order in Chat