Add flag to ignore index.html
resolution in gateway
#8265
Labels
effort/hours
Estimated to take one or several hours
help wanted
Seeking public contribution on this issue
kind/enhancement
A net-new feature or improvement to an existing feature
P3
Low: Not priority right now
topic/gateway
Topic gateway
At the moment, if I want to do a directory listing using an HTTP request to a gateway, I cannot do anything if there is an
index.html
file inside a given path.It would be nice to be able to specify a flag in the querystring (eg,
?noResolve
) to skip the resolution ofindex.html
and to do a regular directory read.This is something I've played with a bit in js-ipfs-fetch using a custom header, but that doesn't play well with CORS and I've since learned that querystrings are much more reliable/ usable (in hypercore-fetch).
Is this something that could be considered for addition?
The text was updated successfully, but these errors were encountered: