uNetworking / uNetworking/uWebSockets

Generic helper for list based headers

Open
#1,505 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Http
Dominant language
C++
Stars
19k
Forks
1.9k
Avg merge
3h 24m
Merged PRs (30d)
5

Description

Should have built-in ways for iterating all values in a list header, including repeated headers:

for (auto value : req->getHeaderList("some-header-with-list")) {

}

where delim is comma by default but can also be semi-comma for cookie header.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the request header accessors and existing parsing for repeated or list-valued headers. Define the expected iterator behavior for repeated headers, comma delimiters, and semicolon-delimited cookie headers; done means callers can iterate all values through the proposed getHeaderList helper.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.