Auth & HTTP
HTTP headers
Inspect a real same-origin fixture response and compare guided CORS and cache exchanges.
AUTH & HTTP / REQUEST PATH
REQUEST · SYNTHETIC LESSON DATA
Event log
- Read the response headers
Objective
Read request and response headers and predict the results of a preflight or cache revalidation.
Transcript
Angular 22.3.2
- The browser asks for JSON using Accept. The dedicated lesson endpoint responds with a Content-Type and a no-store cache policy.
- The CORS scenario models OPTIONS before a credentialed cross-origin POST. The browser compares origin, credential, method and header permissions before sending the POST.
- A wildcard origin does not permit credentialed access. The permitted example uses the exact origin and matching permission headers.
- In the cache scenario the browser has a stored private response that requires revalidation. It sends If-None-Match, and a matching ETag produces a 304 without a replacement body.