`new Request` bad type
See original GitHub issueWhen creating a request, it seems like the native Request
type is used. So when I run new Request(url, options)
, the options
type accepts properties that Cloudflare Workers doesn’t support: mode
, credentials
, cache
and integrity
(maybe more?)
Issue Analytics
- State:
- Created 10 months ago
- Reactions:1
- Comments:8 (3 by maintainers)
Top Results From Across the Web
400 Bad Request - HTTP - MDN Web Docs
The HyperText Transfer Protocol (HTTP) 400 Bad Request response status code indicates that the server cannot or will not process the request ......
Read more >How to Fix a 400 Bad Request Error (Causes and Fixes) - Kinsta
The 400 Bad Request error indicates that the server cannot or process the request due to a client error. Read about the common...
Read more >How to Fix a 400 Bad Request Error: 8 Easy Methods
One of the most common causes of HTTP status 400 bad request error is a wrong URL. This may include a mistyped URL,...
Read more >How to Fix the 400 Bad Request Error - Lifewire
The 400 Bad Request error means that the request you sent to the website server to view the page was somehow incorrect.
Read more >400 BAD request HTTP error code meaning? - Stack Overflow
A 400 means that the request was malformed. In other words, the data stream sent by the client to the server didn't follow...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think it might be caused by the Svelte VSCode extension, so filed an issue there for now: https://github.com/sveltejs/language-tools/issues/1733
Thanks for the help on figuring it out !! ❤️
Would you be able to set up a reproduction repository?