From: Giuseppe Eletto <giuseppe.eletto98@gmail.com>
To: connman@lists.linux.dev
Cc: Giuseppe Eletto <giuseppe.eletto98@gmail.com>
Subject: [PATCH 0/2] gweb/wispr: Normalize received HTTP header field names
Date: Tue, 7 Jul 2026 11:16:43 +0200 [thread overview]
Message-ID: <20260707091645.90508-1-giuseppe.eletto98@gmail.com> (raw)
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
next reply other threads:[~2026-07-07 9:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-07 9:16 Giuseppe Eletto [this message]
2026-07-07 9:16 ` [PATCH 1/2] gweb: Normalize received HTTP header field names to lowercase Giuseppe Eletto
2026-07-07 9:16 ` [PATCH 2/2] wispr: Use lowercase header field names in g_web_result_get_header calls Giuseppe Eletto
2026-07-07 15:37 ` [PATCH 0/2] gweb/wispr: Normalize received HTTP header field names Grant Erickson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260707091645.90508-1-giuseppe.eletto98@gmail.com \
--to=giuseppe.eletto98@gmail.com \
--cc=connman@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox