For precaching of images, I’d like to use httpClient with method ‘HEAD’.
Cause I don’t care about the body… I just want to trigger image caching…
Did you try setting method: 'HEAD'
in the params?
No I follow the doc
The HTTP method to use for the request (e.g. “POST”, “GET”, “PUT”).
“e.g.” they are examples
But I see that it could be more clear, will update and add all common HTTP methods to the JS doc.
Ah, yeah, my eyes skipped that part easily
Can we close this thread then?
1 Like