Brad Fitzpatrick <[email protected]> writes: > Norman, implementing by mimicking can get you pretty far, but be > sure to actually read the protocol docs as well.
Absolutely. I am, however, finding the documentation difficult to understand. For example, this page https://perkeep.org/doc/protocol/blob-upload Seems to be incomplete. Or at least, it doesn’t seem to describe what camput actually does. In my investigation, camput appears to POST the content addressable blob then a moment later POST a blob of JSON that is apparently the metadata for that blob. However, the metadata post is not, in any way that I can see, distinguished as a metadata blob. And despite being clearly a junk of JSON, it’s posted with a content-type of application/octet-stream, so it’s inappropriate for the server to attempt to parse it. > And to be extra confident in your implementation, we have tests that > you can run against your server to see that it behaves correctly. I > can find those later for you if you don't find them first. Thanks. Absent some documentation or explanation for what the protocol is actually doing, I’m not sure how much more progress I can make. Be seeing you, norm -- Norman Walsh <[email protected]> | What is familiar is what we are used http://nwalsh.com/ | to; and what we are used to is most | difficult to 'Know'—that is, to see as | a problem; that is, to see as strange, | as distant, as 'outside us'.--Nietzsche -- You received this message because you are subscribed to the Google Groups "Camlistore" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: PGP signature
