HTTP Headers - Hsanokklis/2023-2024-Tech-journal GitHub Wiki
Developers Tools in Google
network tab
go to name --> 05_simple.html
Headers tab
What is your the User-Agent from your browser?
- Mozilla 5.0
What is the content-type of the page?
- text/html
When was the page last modified (might not be set if page has a no-cache directive)
- Jan 13 2016
Under Name - Click on prettypicture.jpg
What is the content-type?
- image/jpeg
What is the Referer?
Why do you think the Referer is what is listed (hint: look at the source code of the 05_simple.html page)
- The referer is the link of the webpage in which the resource
prettypicture.jpg
was requested through. You can see below in the source code of the webpage thatprettypicture.jpg
is linked within the webpage so that is the referer.
- The referer is the link of the webpage in which the resource
refresh the same tab
304 - Not Modified
This response indicates that the web resource requested since the last time you viewed it. Since I refreshed the page, and made no modifications to it in between refreshing it, I was able to get the 304 response.