HTTP Headers - Hsanokklis/2023-2024-Tech-journal GitHub Wiki

Developers Tools in Google

image

network tab

image

go to name --> 05_simple.html

image

Headers tab

image

  • What is your the User-Agent from your browser?
    • Mozilla 5.0

image

  • What is the content-type of the page?
    • text/html

image

  • When was the page last modified (might not be set if page has a no-cache directive)
    • Jan 13 2016

image

Under Name - Click on prettypicture.jpg

  • What is the content-type?
    • image/jpeg

image

image

  • 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 that prettypicture.jpg is linked within the webpage so that is the referer.

image

refresh the same tab

image

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.