Content-Type: The media type of the request body. Required when sending a body. Content-Type tells the receiver what kind of data is in the body and how it is encoded. text/html; charset=utf-8 for web pages, application/json for API data, multipart/form-data for file uploads. The server uses it on requests to decide how to read the body. Send JSON without Content-Type: application/json and many frameworks will not parse it, so your code sees empty input.
On responses, browsers rely on it to decide what to do with the data. Always set the correct type and character set. Add X-Content-Type-Options: nosniff so browsers do not guess, because guessing can turn an uploaded text file into executable script. Returning JSON errors with an HTML content type, or the other way round, is a common source of confusing client bugs.
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