#89 closed enhancement (fixed)

webapi needs to support HEAD too

Reported by: warner Owned by: warner
Priority: minor Milestone: 1.1.0
Component: code-frontend-web Version: 0.7.0
Keywords: webapi Cc:
Launchpad Bug:

Description

at the moment, doing an http GET on a file in the vdrive works fine, but doing an http HEAD on the same file results in a 404. At worst we should do everything we'd normally do to download the file (or present the directory), and then just throw out the data. Ideally we'd do less work than that, for files we could emit a length and an ETag (really just the CHK:URI) without even downloading the file.

Change History (8)

comment:1 Changed at 2007-08-14T18:58:14Z by warner

  • Component changed from code to code-frontend-web
  • Owner somebody deleted

comment:2 Changed at 2007-08-23T19:49:31Z by zooko

  • Milestone changed from undecided to 0.6.0
  • Owner set to zooko
  • Status changed from new to assigned
  • Type changed from defect to enhancement

I'm interested in improving the web api for v0.6, so I'll take this ticket.

comment:3 Changed at 2007-09-19T23:02:53Z by zooko

  • Milestone changed from 0.6.0 to 0.7.0

comment:4 Changed at 2007-11-01T19:44:39Z by zooko

  • Milestone changed from 0.7.0 to 0.7.1
  • Version changed from 0.4.0 to 0.6.1

We're focussing on an imminent v0.7.0 (see the roadmap) which hopefully has #197 -- Small Distributed Mutable Files and also a fix for #199 -- bad SHA-256. So I'm bumping less urgent tickets to v0.7.1.

comment:5 Changed at 2007-11-13T18:27:53Z by zooko

  • Milestone changed from 0.7.1 to 0.7.2
  • Version changed from 0.6.1 to 0.7.0

We need to choose a manageable subset of desired improvements for [ http://allmydata.org/trac/tahoe/milestone/0.7.1 v0.7.1], scheduled for two week hence, so I'm bumping this one into v0.7.2, scheduled for mid-December.

comment:6 Changed at 2008-01-23T04:19:46Z by zooko

  • Milestone changed from 0.7.2 to undecided

comment:7 Changed at 2008-06-01T20:51:19Z by warner

  • Milestone changed from eventually to 1.2.0
  • Owner changed from zooko to warner
  • Status changed from assigned to new

I think this might be finished now.. I remember thinking about it while doing the webapi refactoring a few weeks ago.

comment:8 Changed at 2008-06-03T04:47:36Z by warner

  • Milestone changed from 1.2.0 to 1.1.0
  • Resolution set to fixed
  • Status changed from new to closed

Yup, this was done as part of the big webapi refactoring. We don't have ETag, but I'll add that to a separate ticket.

Note: See TracTickets for help on using tickets.