fetch-with-init-then-request sets Content-Type request header for GET
https://github.com/mdn/fetch-examples/blob/7a20c41cb1d65c5e8ae9eae3270caa2dadadf12e/fetch-with-init-then-request/index.html#L25-L36
That example is setting a Content-Type request header for a GET request, which serves no real purpose since the request has no request body/payload.
I guess a simple fix would be to change the request header to an Accept header. But it seems like that wouldn’t be serving much real purpose either, since the request for flowers.jpg will without any Accept request header needed return that JPEG file as expected anyway.
A more real-world example would be a POST request with a JSON request payload/body and a Content-Type: application/json request header. But I don’t know if/how that would fit with how the set of examples here are served.
Regardless, I’m happy to help work on putting together another example that illustrates the same thing this one’s intended to illustrate.
But note also that whatever changes we make here, we will also need to update the example code at https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/fetch#Example, which repeats the code from here.