Daniel Feather
Results
2
comments of
Daniel Feather
@johanhelsing This should be doable on wasm. On the `web-sys` `Window` there is a method called `fetch_with_str_and_init`. `RequestInit` has a headers field where I am assuming the `User-Agent` header can...
> I thought perhaps browsers didn't let you set that header... Have you tried it? @johanhelsing I hadn't considered that, but after doing a test with `fetch` and `XMLHttpRequest` respectively,...