elixir-mint / hpax Goto Github PK
View Code? Open in Web Editor NEWImplementation of the HPACK protocol for Elixir. ๐ด
Home Page: https://datatracker.ietf.org/doc/html/rfc7541
License: Apache License 2.0
Implementation of the HPACK protocol for Elixir. ๐ด
Home Page: https://datatracker.ietf.org/doc/html/rfc7541
License: Apache License 2.0
The functionality is present (though I'm unsure how tested it is), but the relevant flags are always set to false with no way for a caller to change them (see, for example: https://github.com/elixir-mint/hpax/pull/1/files#diff-4f483d3ec827149f45394513652cebbf629a48f1023bd62153f775ebd27a365eR224)
I'm doing a bit of preliminary testing with https://github.com/elixir-lang/elixir/releases/tag/v1.14.0-rc.1, and noticed the following warning, so I'm opening an issue to report it :
==> hpax
Compiling 4 files (.ex)
warning: use Bitwise is deprecated. import Bitwise instead
lib/hpax/huffman.ex:4: HPAX.Huffman
warning: use Bitwise is deprecated. import Bitwise instead
lib/hpax/types.ex:4: HPAX.Types
Generated hpax app
Happy to provide a PR if you want.
HPax.encode/2
requires three-element tuples to be passed, where the first element of each tuple describes the encoding action to be applied (one of :store
, :store_name
, :no_store
, :never_store
). In all existing call sites in both Mint and bandit, these actions are always the same. I propose an HPax.encode/3
which takes a third argument containing the action type to apply to all entries, which would allow calling with a standard keyword list of headers as the second argument.
Opening the issue for discussion in advance of a pretty trivial, as it will also influence call-site refactors in both Mint and bandit.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.