Expand description
Generic HTTP/1.1 protocol parser for Ocular. Parses request line, headers, and body. Used for Elasticsearch and other HTTP services.
Functions§
- extract_
http_ full_ command - Extract full HTTP request (method + path + body if present).
- format_
http_ response_ detail - Format detailed HTTP response (status + headers + body).
- http_
request_ complete - Check if an HTTP request is complete.
- http_
response_ complete - Check if an HTTP response is complete (has full headers + body per Content-Length).
- parse_
http_ request - Parse an HTTP request buffer, returning “METHOD /path” summary.
- parse_
http_ response - Parse an HTTP response buffer, returning status summary.