[PATCH 0/2] gweb/wispr: Normalize received HTTP header field names
Giuseppe Eletto <[email protected]> Tue, 7 Jul 2026 11:16:43 +0200
| Newsgroups | dev.linux.lists.connman |
|---|---|
| Message-ID | <[email protected]> |
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(-)
--
2.50.1