Skip to content
This repository was archived by the owner on Aug 2, 2021. It is now read-only.

Manifests without a default path should default to list request #156

Open
gbalint opened this issue Dec 12, 2017 · 5 comments
Open

Manifests without a default path should default to list request #156

gbalint opened this issue Dec 12, 2017 · 5 comments

Comments

@gbalint
Copy link

gbalint commented Dec 12, 2017

Manifests without a default path should default to the behaviour that bzz-list:// induces. (Or at least it should be possible to enable this behaviour on the local node)

@cobordism
Copy link

HTTP 300 Multiple Choices
Error page with link to bzz-list:// URL ?

@zelig
Copy link
Member

zelig commented Dec 24, 2017

i think this runs against the simplicity and transparency principle.
@homotopycolimit suggestion is good.
Also dont forget lists can be HUGE...

@cobordism
Copy link

If we call a manifest without a default entry, or if we simply under-specify a path (say we call up /im on a manifest that contains /images and /imgs entries) then HTTP 300 seems to be the correct response.

So, to clarify:
My suggestion was that we make it such that the default response is s simple HTTP 300 error page that does not list what these multiple choices are (because the list could be very long? could it actually?) but instead offers the link to bzz-list://, allowing the end user to inspect the multiple choices if they so choose.

@cobordism
Copy link

At the same time we should fix bzz-list to have correct links.

Currently every link in the HTML output of a bzz-list request is itself a bzz-list.
Correct would be to have bzz-list links to bzz-manifest resources and appropriate bzz-raw links to all other content. Furthermore, if a manifest in a bzz-list has an html default entry, there should be a (bzz) link to "Display / Open this manifest" or sth like that.

@cobordism
Copy link

c.f. #726

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants