gweb/wispr: Normalize received HTTP header field names
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | gweb: Normalize received HTTP header field names to lowercasegweb/ | +16 | 0 replies | |
| 2/2 | wispr: Use lowercase header field names in g_web_result_get_header callssrc/ tools/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] gweb/wispr: Normalize received HTTP header field names
This series makes connman correctly handle HTTP response headers from modern servers that send field names in lowercase, as permitted by RFC 9110 Section 5.1.
The first patch normalizes incoming header field names to lowercase at parse time in gweb and updates the lookup path accordingly. The latter updates wispr call sites to pass lowercase names, consistent with the normalized store.
Giuseppe Eletto (2):
gweb: Normalize received HTTP header field names to lowercase
wispr: Use lowercase header field names in g_web_result_get_header
calls
gweb/gweb.c | 19 ++++++++++++++++--- src/wispr.c | 12 ++++++------ tools/wispr.c | 4 ++-- 3 files changed, 24 insertions(+), 11 deletions(-)
Signature · 1 line
2.50.1