h2o / h2o/picohttpparser

Getting the message body without the headers in phr_parse_response()

Open
#31 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
2.1k
Forks
275
PR merge metrics
No merged PRs in 30d

Description

When calling the **_phr_parse_response()_**, the msg pointer contains data starting from the status message. How do you get the message body without the headers?

Thanks.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the phr_parse_response() entry point and inspect how its msg pointer and parsed response boundaries are described in the available documentation or headers. Clarify how a caller can identify the body separately from the status line and headers, and document the resulting usage with a concise example.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
backend-api-design, networking
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.