On Sat, Dec 23, 2017 at 10:25 AM, Mathieu Lonjaret < [email protected]> wrote:
> On 23 December 2017 at 11:09, Norman Walsh <[email protected]> wrote: > > Hi, > > > > I worked out, by grovelling through the source, that setting CAMLI_DEBUG > to > > true would enable the -proxy_local option by which I could try to reverse > > engineer the way upload works. > > > > (Apologies if I missed the protocol documentation somewhere.) > > https://perkeep.org/doc/protocol/blob-upload ? > implementations at: > pkg/client/upload.go > pkg/server/uploadhelper.go > > > Except if I do that, I mysteriously get 401 errors from the camlistored > > server. > > > > How do I create/enable/use a user ID/password combination that will work > > when I'm running requests through Charles proxy? > > what is Charles proxy? > It's the first hit on Google... :-) https://www.charlesproxy.com/ Norman, implementing by mimicking can get you pretty far, but be sure to actually read the protocol docs as well. 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. -- 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.
