- a)
HTTP:
The web application uses Hyper Text Transfer Protocol (HTTP) as application layer protocol.
HTTP is an application protocol for distributive, collaborative, and hypermedia
Given HTTP GET Message:
HTTP/1.1 200 OK<cr><lf>Date: Tue, 07 Mar 2008 12:39:45GMT<cr><lf>Server: Apache/2.0.52 (Fedora)< cr><lf>Last- odified: Sat, 10 Dec2005 18:27:46 GMT<cr><lf>ETag: “526c3-f22- 88a4c80”<cr><lf>Accept- Ranges: bytes<cr><lf>Content-Length: 3874<cr><lf> Keep-Alive: timeout=max=100<cr><lf>Connection: Keep- live<cr><lf>Content-Type: text/html; charset= ISO-8859- <cr><lf><cr><lf><!doctype html public “- //w3c//dtd html 4.0 transitional//en”><lf><html><lf>< head><lf> <meta http-equiv=”Content- ype” content=”text/html; charset=iso-8859-1”><lf> <meta name=”GENERATOR” content=”Mozilla/4.79 [en] (Windows NT 5.0; U) Netscape]”><lf> <title>CMPSCI 453 / 591 / NTU-ST550A Spring 2005 homepage</title><lf></head><lf>< much more document text following here (not shown)>
b)
HTTP:
The web application uses Hyper Text Transfer Protocol (HTTP) as application layer protocol.
HTTP is an application protocol for distributive, collaborative, and hypermedia information systems.
Given HTTP GET Message:
HTTP/1.1 200 OK<cr><lf>Date: Tue, 07 Mar 2008 12:39:45GMT<cr><lf>Server: Apache/2.0.52 (Fedora)< cr><lf>Last- odified: Sat, 10 Dec2005 18:27:46 GMT<cr><lf>ETag: “526c3-f22- 88a4c80”<cr><lf>Accept- Ranges: bytes<cr><lf>Content-Length: 3874<cr><lf> Keep-Alive: timeout=max=100<cr><lf>Connection: Keep- live<cr><lf>Content-Type: text/html; charset= ISO-8859- <cr><lf><cr><lf><!doctype html public “- //w3c//dtd html 4.0 transitional//en”><lf><html><lf>< head><lf> <meta http-equiv=”Content- ype” content=”text/html; charset=iso-8859-1”><lf> <meta name=”GENERATOR” content=”Mozilla/4.79 [en] (Windows NT 5.0; U) Netscape]”><lf> <title>CMPSCI 453 / 591 / NTU-ST550A Spring 2005 homepage</title><lf></head><lf>< much more document text following here (not shown)>
c)
HTTP:
The web application uses Hyper Text Transfer Protocol (HTTP) as application layer protocol.
HTTP is an application protocol for distributive, collaborative, and hypermedia information systems.
Given HTTP GET Message:
HTTP/1.1 200 OK<cr><lf>Date: Tue, 07 Mar 2008 12:39:45GMT<cr><lf>Server: Apache/2.0.52 (Fedora)< cr><lf>Last- odified: Sat, 10 Dec2005 18:27:46 GMT<cr><lf>ETag: “526c3-f22- 88a4c80”<cr><lf>Accept- Ranges: bytes<cr><lf>Content-Length: 3874<cr><lf> Keep-Alive: timeout=max=100<cr><lf>Connection: Keep- live<cr><lf>Content-Type: text/html; charset= ISO-8859- <cr><lf><cr><lf><!doctype html public “- //w3c//dtd html 4.0 transitional//en”><lf><html><lf>< head><lf> <meta http-equiv=”Content- ype” content=”text/html; charset=iso-8859-1”><lf> <meta name=”GENERATOR” content=”Mozilla/4.79 [en] (Windows NT 5.0; U) Netscape]”><lf> <title>CMPSCI 453 / 591 / NTU-ST550A Spring 2005 homepage</title><lf></head><lf>< much more document text following here (not shown)>
d)
HTTP:
The web application uses Hyper Text Transfer Protocol (HTTP) as application layer protocol.
HTTP is an application protocol for distributive, collaborative, and hypermedia information systems.
Given HTTP GET Message:
HTTP/1.1 200 OK<cr><lf>Date: Tue, 07 Mar 2008 12:39:45GMT<cr><lf>Server: Apache/2.0.52 (Fedora)< cr><lf>Last- odified: Sat, 10 Dec2005 18:27:46 GMT<cr><lf>ETag: “526c3-f22- 88a4c80”<cr><lf>Accept- Ranges: bytes<cr><lf>Content-Length: 3874<cr><lf> Keep-Alive: timeout=max=100<cr><lf>Connection: Keep- live<cr><lf>Content-Type: text/html; charset= ISO-8859- <cr><lf><cr><lf><!doctype html public “- //w3c//dtd html 4.0 transitional//en”><lf><html><lf>< head><lf> <meta http-equiv=”Content- ype” content=”text/html; charset=iso-8859-1”><lf> <meta name=”GENERATOR” content=”Mozilla/4.79 [en] (Windows NT 5.0; U) Netscape]”><lf> <title>CMPSCI 453 / 591 / NTU-ST550A Spring 2005 homepage</title><lf></head><lf>< much more document text following here (not shown)>
Want to see the full answer?
Check out a sample textbook solutionChapter 2 Solutions
EBK COMPUTER NETWORKING
- Question 6 sm.Full explain this question and text typing work only We should answer our question within 2 hours takes more time then we will reduce Rating Dont ignore this linearrow_forwardThe following questions are related to HTTP protocol Q1. The first line of a HTTP request from some client to some server is basically made of where the web page file path is added. The path is shown as folders separated by slash. Q2. If an HTTP server responds to a client request and the response is a success, what is the http code and string that marks a success response? Must provide the code and the string as they appear in TCPDump or Wireshark traces. (note: use upper case for the string and also proper spacing in you answers. Keep the order of the string and the code as seen in TCPDump) Answer: code and string that marks a success response Q3. What http header field is used to identify an address of a web page (i.e. the URI) that linked to the resource currently being requested. This field indicates the last page the user/requester was on by the time they link to the requested page. Answer: The field that indicates the last page the user/requester was on is Q4. What is the http…arrow_forwardCan you recommend the best HTTP version for my use case? Explain the function of each status code used in HTTP 2.0 response messages.arrow_forward
- GoLang Create a simple HTTP/1.1 server in Go programming language. The server will serve files from a directory, and the client will be the browser. It will run on port 8080 and will handle HTTP get and head requests. It will either send a 200 or 404 response. The response will have three headers which will be the server, last-modified, and content length. Do NOT use the net/http package.arrow_forwardQ10: Complete the frames (x & y) given below with appropriate port, IP and MAC addresses. The sender Host E has two applications running; one for email with port number 49254 and the other for accessing the web server with port number 52167. The frame x is intended for the BRACU Web server and frame y is coming from the Email Server. (MAC addresses are alphabets and IP addresses are numbers) Port 80 BRACU Web Frame x Server A/20 B/21 Frame X D. Mac Frame Y D. Mac Switch-PT Switcho C/22 S. MAC S. MAC BRACU G/51, Router F/25 Frame y Switch-P Switch1 D/23 D. IP D. IP ISP Router 1/91 H/52 E/24 Sender S. IP S. IP Hub-PT Hubo D. Port D. Port K/93 Port 25 Email Server 3/92 S. Port S. Port Data Data Trailer Trailerarrow_forwardplz provide accurate solutionarrow_forward
- In the HTTP protocol, what is the primary different between a GET request and a PUT request? GET requests send out TCP packets whereas PUT requests send out UDP packets. O GET requests are for HTML (and CSS/JavaScript) source files only while PUT requests are for other objects such as images, audio, and video. O GET requests place parameters into the URL while PUT requests place parameters in the HTTP request body. O GET requests are for downloading data and PUT requests are for uploading data.arrow_forwardTrue or false? The Date: header in the HTTP response message indicates when the object in the response was last modified.arrow_forwardInstead of using a browser, write your own HTTP client to test your server. Your client will connect to the server using a TCP connection, send an HTTP request to the server, and display the server response as an output. You can assume that the HTTP request sent is a GET method. The client should take command line arguments specifying the server IP address or host name, the port at which the server is listening, and the path at which the requested object is stored at the server. The following is an input command format to run the client. client.py server_host server_port filenamearrow_forward
- A host is doing a DNS resolution for itself (it is running its own recursive DNS resolver). The host's resolver has already contacted two DNS resolvers and has cached their DNS responses for a query to "www.ucsd.edu". Given those responses are cached, what is the minimum number of DNS servers it will have to reach out to to resolve the domain name "courses.ucsd.edu"? a) 1 b) 2 c) 3 d) 0arrow_forwardExamine the HTTP header fields below and identify the field that does not belong to this group. a. User-Agent b. Server c. Referer d. Acceptarrow_forwardMCQ: Which of the following statement is TRUE? InetAddress is used by other network classes like Socket and ServerSocket to identify hosts. There are public InetAddress() constructors. Using InetAddress, arbitrary addresses may be created. InetAddress class represents as Port address.arrow_forward
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education