Accept-Language: What human languages the client prefers, with weights. Used for content negotiation. Accept-Language lists the languages a browser user prefers, in order, with weights. nl-NL,nl;q=0.9,en;q=0.8 means Dutch first, then English. Browsers fill it in from the operating system or browser settings. It is a useful hint for a multilingual site, for example to suggest the Dutch version to a first-time visitor. It is a weak signal, though. Many people browse with an English system language while preferring content in their own language, or the other way round.
What should you keep in mind with Accept-Language?
For that reason, avoid automatic redirects based only on this header. Search engines usually crawl without it, so they may never see your other language versions. A better pattern is a separate URL per language, such as /nl/, linked with hreflang tags, and a visible language switch. Let the header suggest, and let the visitor decide.
What does an example of Accept-Language look like?
Use when reviewing or setting HTTP response headers for a web app or API - security headers (Content-Security-Policy, Strict-Transport-Security, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy), CORS headers, caching headers (Cache-Control, ETag, Last-Modified, Vary) and cookies (Set-Cookie flags). Also use when a security scan reports missing headers.
'Expert-level browser automation, debugging, and performance analysis using Chrome DevTools MCP. Use for interacting with web pages, capturing screenshots, analyzing network traffic, and profiling performance.'
OWASP Top 10 security audit and secure coding guidelines for Laravel + React/Inertia.js applications. Use when auditing for vulnerabilities ("run OWASP audit", "security review", "check my app security") or writing secure Laravel code involving auth, payments, file uploads, or API design. Triggers on security-related tasks, payment handling, authentication, or any request to audit a Laravel codeba