InterviewDB Question

Header Parsing: Parse HTTP-Style Headers from a Raw Request String

Question Details

Problem Given a raw HTTP request string, parse it into: method, path, http_version, and a headers dict. Header names are case-insensitive; normalize them to lowercase. Stop at the blank line separating headers from body. Example: Follow-ups How do yo…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding Phone