Commit Graph

4 Commits

Author SHA1 Message Date
Brad Fitzpatrick 2627a6cf4c Add test_upload_corrupt_blob and fix the Go server.
The Go server was forgetting the final step of verifying the hash it
computed.

The App Engine server currently fails the test because the failure
mode is specified in the spec.  TODO: clarify that.

This also adds some unit tests for camli/blobref, and changes BlobRef
to a struct, instead of an interface.
2010-12-17 10:01:36 -08:00
Brad Fitzpatrick 38de1ffd0d More sig verify work; move blobref to a library 2010-12-03 07:34:24 -08:00
Brad Fitzpatrick 079c9662ad go blobserver: return "Received" in JSON
Also return text/json mime type,

And switch from fmt.Print* to log.Print*
2010-12-01 22:34:08 -08:00
Brad Fitzpatrick 52ce2e3b99 rearrange server/go directory in prep for packages 2010-11-14 19:31:00 -08:00