Skip to content

IPFS http servers do not respond meaningfully to HEAD requests #840

@BrendanBenshoof

Description

@BrendanBenshoof

node:5001/ipfs/hash returns code 400 Bad Request for all HEAD requests

node:8080/ipfs/hash returns 405 (arguably correct) for all HEAD requests
node:8080/ipns/hash returns 405 (arguably correct) for all HEAD requests

node:5001/ returns code 404 (correct!)
node:5001/webui returns 302 on my machine
node:5001/webui returns 301 on the travis CI machine
node:5001/webui/ returns 404 (ideally fixed soon in pull #823 )

Ideal behavior is HEAD requests returning corresponding errors as if they were a GET request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    exp/noviceSomeone with a little familiarity can pick upkind/bugA bug in existing code (including security flaws)topic/gatewayTopic gateway

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions