structured-headers
structured-headers copied to clipboard
Parser for draft-ietf-httpbis-header-structure, structured headers for HTTP
UInt8Array is now a widely available object, so it makes sense to remove our own ByteSequence. This is a major version BC break.
I am trying to write a comparator for Items. The simplest thing will be match the type and compare the values. Amongst the non-primitive types, I cannot coerce only ByteSequence...
## Problem description When dealing with headers, it's hard for a generic library to know what the serialization for an arbitrary header is going to be. If we wish to...
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. Commits 74b2db2 3.0.3 88f1429 update eslint. lint, fix unit tests. 415d660 Snyk js braces 6838727 (#40) 190510f fix tests, skip 1 test in test/braces.expand...
### Summary Would it make sense for `structured-headers` to support a _raw_ data type which is meant to represent pre-serialized data? This would be somewhat similar to [`JSON.rawJSON()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/rawJSON) except for...
The tuple syntax is clunky and we can significantly improve the developer experience by introducing a few classes such as Dictionary, List and Item. It might be nice to keep...