Skip to content

fix: store headers as ordered pairs to preserve header ordering#11

Merged
snapspecter merged 1 commit intosnapspecter:mainfrom
sleeyax:fix/header-ordering
Mar 31, 2026
Merged

fix: store headers as ordered pairs to preserve header ordering#11
snapspecter merged 1 commit intosnapspecter:mainfrom
sleeyax:fix/header-ordering

Conversation

@sleeyax
Copy link
Copy Markdown
Contributor

@sleeyax sleeyax commented Mar 27, 2026

Currently, headers are stored as dict, which means the header order is lost. I suggest we store them as [[key, value], ...]. instead so that the header order is preserved. I've included a backward-compatible helper function for existing consumers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants