You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context
I'm using an internal basic Git based CDN and it currently doesn't support HEAD requests. This makes it impossible to run storybook tests against the hosted versions.
I understand the reasoning behind choosing to use a HEAD request, but to reduce these kinds of issues in the future I believe it makes sense to just switch this to a GET request.
There isn't any side-effects from this, since fetch buffers the response body and we never read from it.
In my tests the GET request usually resolve negligibly faster, though the primary benefit is just using the most basic request method and avoiding these types of issues being brought up in the future.
Context
I'm using an internal basic Git based CDN and it currently doesn't support
HEAD
requests. This makes it impossible to run storybook tests against the hosted versions.test-runner/src/test-storybook.ts
Line 186 in 1ba363f
Proposed Solution
switch to using
GET
for the request instead ofHEAD
Alternate Solutions
--req-method=GET
--skip-server-check
The text was updated successfully, but these errors were encountered: