Skip to content

When trying to GET an unexisting item, a 200-OK is returned even if the file doesn't exist #39

Open
@ktecho

Description

@ktecho

To Reproduce
Trying to do this:

const url = `${serverUrl}/random_sha256`;
const response = await fetch(url, { method: 'HEAD' });

either with HEAD of GET will return 200-OK. I think the problem is that the server is returning a picture correctly:

Image

Metadata

Metadata

Labels

bugSomething isn't workingenhancementNew feature or requestquestionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions