#1764 new defect

tahoe webapi gives HTTP 410 Gone for files that may actually come back — at Version 1

Reported by: ChosenOne Owned by: davidsarah
Priority: normal Milestone: soon
Component: code-frontend-web Version: 1.9.1
Keywords: http standards test-needed Cc:
Launchpad Bug:

Description (last modified by davidsarah)

From RFC 2616 about HTTP 410 Gone:

The requested resource is no longer available at the server and no forwarding address is known. This condition is expected to be considered permanent.

This response is cacheable unless indicated otherwise

the resource is intentionally unavailable and that the server owners desire that remote links to that resource be removed.

A few things are wrong about that: If the gateway could not find enough shares due to a current lack of servers, the error is in fact temporary and links to that resource may become valid again.

tahoe should instead return a 404, i.e. http.NOT_FOUND instead of http.GONE

Change History (2)

Changed at 2012-06-10T18:52:26Z by ChosenOne


Content-Disposition: form-data; name="replace"

on

comment:1 Changed at 2012-06-11T04:01:49Z by davidsarah

  • Component changed from unknown to code-frontend-web
  • Description modified (diff)
  • Keywords http standards added
  • Milestone changed from undecided to 1.10.0
  • Summary changed from tahoe webapi gives HTTP 401 Gone for files that may actually come back to tahoe webapi gives HTTP 410 Gone for files that may actually come back
Note: See TracTickets for help on using tickets.