Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

___________________________________________________________________________________

Date: 03-05-2022

Photonic Network on Chip Assignment


“Short note on ring resonator and photonic crystal resonators”

Dept. of ECE, PESU

Name: Gokulraj KS Name: Sandhya Balakrishna


SRN/USN: PES1201801627 SRN/USN: PES1201801036
Class: 8th Sem (F) – ECE Class: 8th Sem (E) – ECE

Individual Contributions:
Sandhya Balakrishna: Researched on Ring Resonators
Gokulraj KS: Researched on Photonic Crystal Resonators

1
___________________________________________________________________________________
___________________________________________________________________________________

Objective:
To explore HTTP GET request/response by downloading simple HTML files
which contain no embedded objects. We will also explore the conditional
GET request/response and analyze the differences between the GET and
conditional GET messages.
Theory:
GET:
The GET method is used to retrieve information from the given server
using a given URL. Requests using GET should only retrieve data and
should have no other effect on the data.
CONDITIONAL GET:
The HTTP Protocol defines a caching mechanism, in which the proxy
web-servers can cache pages, files, images etc. Since caching is in place,
there is a method which the servers are asked to return the document, either
the “cached” or “live” document. This request of asking the server for a
document considering a specific parameter is called a Conditional GET
Request. In this request, a specific request header is sent If-Modified-Since.
HTTP Request Format:

2
___________________________________________________________________________________
___________________________________________________________________________________

cr -> carriage return ,lf -> line feed


Questions and Answers:
1. Is your browser running HTTP version 1.0 or 1.1? What version of
HTTP is the
server running?
Ans. The browser is running HTTP version 1.1. Frame number 60. The
server is running version 1.1.
2. What languages (if any) does your browser indicate that it can
accept to the server?
Ans. The accepted language is en-US,en.
3. What is the IP address of your computer? Of the
gaia.cs.umass.edu server?
Ans. IP of my computer is 10.5.9.211
IP of the gaia.cs.umass.edu server is 128.119.245.12
4. What is the status code returned from the server to your browser?
3
___________________________________________________________________________________
___________________________________________________________________________________

Ans. Status code is 200 OK as found in the service line of the HTTP reply.
5. When was the HTML file that you were retrieving last modified at
the server?
Ans. Last Modified on Sun, 28 Feb 2021 11:02:19 GMT
6. How many bytes of content are being returned to your browser?
Ans. Content length is of 128 bytes.
7. By inspecting the raw data in the packet content window, do you
see any headers within the data that are not displayed in the
packet-listing window? If so, name one.
Ans. We found a <html> header and it is not displayed in the packet listing
window as it is a Protocol Header.
8. Inspect the contents of the first HTTP GET request from your
browser to the server. Do you see an “IF-MODIFIED-SINCE” line in
the HTTP GET?
Ans. We cannot find any line as “IF-MODIFIED-SINCE” in the HTTP GET.
9. Inspect the contents of the server response. Did the server
explicitly return the contents of the file? How can you tell?
Ans. Yes the server explicitly returns the content of the file as we can
observe three headers present which are Last Modified, Content Length
and Content Type.
10. Now inspect the contents of the second HTTP GET request
from your browser to the server. Do you see an
“IF-MODIFIED-SINCE:” line in the HTTP GET? If so, what
information follows the “IF-MODIFIED-SINCE:” header?
Ans. Yes we can see “IF-MODIFIED-SINCE:” line in the second HTTP
GET.
IF-MODIFIED-SINCE: Sun, 28 Feb 2021 05:59:01 GMT
11. What is the HTTP status code and phrase returned from the
server in response to this second HTTP GET? Did the server
explicitly return the contents of the file? Explain.
4
___________________________________________________________________________________
___________________________________________________________________________________

Ans. Return response is 304 Not Modified. We cannot find any header
lines for the object so the server did not reply to the object.
Screenshots:

Figure 1: Packet Content Window - First GET Message

5
___________________________________________________________________________________
___________________________________________________________________________________

Figure 2: Packet Content Window - First response Message

6
___________________________________________________________________________________
___________________________________________________________________________________

Figure 3: Packet Content Window - Second GET Message

Figure 4: Packet Content Window - Second response Message

7
___________________________________________________________________________________
___________________________________________________________________________________

8
___________________________________________________________________________________

You might also like