Dev UtilitiesLesson 148Free preview
HTTP Header Analyzer
This lesson is part of Web Developer Tools · All levels
Summary
HTTP Header Analyzer checks the header on request and response to help understand site behavior. You can see Content-Type, cache rules, cookies, CORS, as well as security header like CSP and HSTS. From these results, problems like an incorrect MIME type, a bad cache, or a loose security policy can be found faster.
Key points
- HTTP header names are not sensitive to capital or lowercase letters
- Content-Type determines how the browser interprets the body
- Cache-Control sets the age of the cache and revalidates it
- Important security headers include CSP, HSTS, and X-Content-Type-Options
- Set-Cookie uses the attributes HttpOnly, Secure, and SameSite
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.