[tahoe-lafs-trac-stream] [tahoe-lafs] #1764: tahoe webapi gives HTTP 401 Gone for files that may actually come back

tahoe-lafs trac at tahoe-lafs.org
Sun Jun 10 18:50:25 UTC 2012


#1764: tahoe webapi gives HTTP 401 Gone for files that may actually come back
-----------------------+----------------------------
 Reporter:  ChosenOne  |          Owner:  davidsarah
     Type:  defect     |         Status:  new
 Priority:  normal     |      Milestone:  undecided
Component:  unknown    |        Version:  1.9.1
 Keywords:             |  Launchpad Bug:
-----------------------+----------------------------
 From RFC 2616 about HTTP 401 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''

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1764>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list