I am using cURL to trace HTTP headers.
My browser says the resource got a 304 response.
In my cURL, I see a 200 OK.
Would you know why this could be ?
I am using cURL to trace HTTP headers. My browser says the resource got
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
“304 Not Modified” means the resource is the same like when the browser requested it before (e.g. based on modification date or etag).
Curl has no cache so it will always request the resource without any “if-modified-since” header (and similar ones) – thus the server will send it together with a “200 OK” statuscode.