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
I have observed providers with HTTP-endpoint that return 500 on HEAD requests, while returning content with GET requests for the same URL.
It is important that HEAD requests are supported as it allows opportunistic content discovery without causing unnecessary load on the providers.
For example, in general we can use HEAD to test if multiple providers have the content they are announcing. We can then use GET to fetch according to latency measurements, or any scoring mechanism.
In the context of Spark, we can expand tests by checking the presence of many more CIDs and randomly picking which ones to fully retrieve.
The text was updated successfully, but these errors were encountered:
To maintain backward compatibility, it may be better to run the HEAD check only if the retrieval check passes and also to report the outcome of HEAD checks as a new metric distinct from RSR.
The Trustless Gateway Spec requires supporting HEAD requests.
I have observed providers with HTTP-endpoint that return 500 on HEAD requests, while returning content with GET requests for the same URL.
It is important that HEAD requests are supported as it allows opportunistic content discovery without causing unnecessary load on the providers.
For example, in general we can use HEAD to test if multiple providers have the content they are announcing. We can then use GET to fetch according to latency measurements, or any scoring mechanism.
In the context of Spark, we can expand tests by checking the presence of many more CIDs and randomly picking which ones to fully retrieve.
The text was updated successfully, but these errors were encountered: