Results 113 comments of Joe Clack

> Maybe try mocking fetch? I'm out of ideas. That or actually using a HTTP2 server 😅 I tried `undici.request` but also no joy there

@aarontravass take a look at the workaround, let me know if it's sufficient :sob:

`undici` is actually installed anyway, it's what backs the native node fetch API - but I take your point

> @Lordfirespeed CI is failing it's been 10 minutes :sob:

@talentlessguy Coverage dropped because of lines handling a difficult-to-test case - when the `:authority` header disagrees with the `host` header

Yeah, there's not much I can do about that. `fetch` API makes it very tricky to test that kind of case.

> I feel like the server should not validate request headers and instead, the burden should be passed over to the end user. Then the burden of the network extensions...

@bmw would you be open to contributions for this? Specifically the `--all-domains` manifestation is the one I would implement, I am not a fan of specially handled values (harder to...

Cor blimey, it's been a while on this - I remember I was working on [nether's delight](https://github.com/Chefs-Delight/NethersDelight_Forge/blob/1.20.1/src/main/java/umpaz/nethersdelight/data/builder/NDCookingPotRecipeBuilder.java) I think the goal was to simplify the process - I'm not 100%...

`.d.ts` type declarations allow vanilla javascript `.js` to be consumed from [TypeScript](https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes-func.html) projects, enabling IDE completions and intelliSense similar to strongly typed languages.