Closed CoderNate closed 10 months ago
oh yeah i didn't read that part of the spec closely enough. looks easy enough to add, done now
Nice! I haven't read the spec but just looking at an example of an implementation it seems that either the data array should be empty or it should begin with a valid binary-encoded code and I'm not sure that 0
is a valid code. If a code is included in data
maybe the default should be 1000 (normal closure).
oh yeah ill change that that makes sense
this was released a while ago so gonna close now
This is a minor thing because most people probably never use the
code
or thereason
but it looks like thecode
is currently ignored instead of being prepended to thereason
when formingdata
.https://github.com/adamdruppe/arsd/blob/975e3526569c1a743a1d467f1ff73c79e45da347/http2.d#L4882