Concept Flow - Response modification
Request received
Run server action or API handler
Create initial Response object
Modify Response (headers, status, body)
Return modified Response
Client receives updated response
This flow shows how Next.js server code creates and changes a response before sending it back to the client.