James M Snell
James M Snell
The TransformStream constructor accepts readableType and writableType options but they are explicitly required to be undefined right now. That is, there is no standard way for a TransformStream to operate...
> Can you elaborate on why URLHost would not satisfy these use cases? It *might*... Just really not certain about the current status of `URLHost`. As I said, I'm really...
Sounds reasonable. I think a `hostString -> hostTypeEnum` would cover the low-cost `is this an ipv4` or `is this an ipv6` use case with no problem.
@annevk ... at this point, what is the likelihood of this moving forward?
With the case of the `keys()` iterator here, would the intention of this PR be to make it so that `set-cookie` could appear multiple times? Or should the `keys()` iterator...
I do think there's a risk of breaking existing code that may be relying on the iterator producing a unique set of keys.
It's worth evaluating options here but we won't do this simply to chase whatever changes bun decides to unilaterally make to the API. I definitely think we would be open...
Just documenting to inform any future work we might do here: With bun's changes... * if `string` is passed in to `transform(...)`, a `string` is returned. * If an `ArrayBuffer`...
To illustrate by example, This works currently in the Workers implementation... but hangs indefinitely in Bun. ``` let n = 0; let r; let p = new Promise((res) => r...
Sorry, yeah, I wasn't clear at all. I meant that the API itself does not clarify how the encoding is handled. The docs (https://developers.cloudflare.com/workers/runtime-apis/html-rewriter/) do not mention charsets, encodings, or...