Content-Length: Size of the response body in bytes. Lets the client know how much to read. Content-Length states the size of a request or response body in bytes. The receiver uses it to know when the body ends and, for downloads, to show progress. You rarely set it yourself, because web servers and frameworks calculate it. When a response is streamed and the size is not known in advance, the server uses chunked transfer encoding instead and leaves Content-Length out.
It becomes relevant when something is wrong. A mismatch between the header and the real body size can cause truncated downloads or requests that hang. Servers also use it to reject uploads that are too large before reading them. If file uploads fail at a certain size, check upload limits in PHP, the web server and any proxy in front of it; all of them look at this value.
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