cmogstored dev/user discussion/issues/patches/etc
 help / color / mirror / code / Atom feed
From: Eric Wong <e@80x24.org>
To: mogile@googlegroups.com
Cc: cmogstored-public@bogomips.org,
	David Birdsong <david.birdsong@gmail.com>
Subject: Re: help w/ md5sum PUT
Date: Wed, 4 Feb 2015 00:20:24 +0000	[thread overview]
Message-ID: <20150204002024.GA882@dcvr.yhbt.net> (raw)
In-Reply-To: <CABJfL5ii0URgqtxggZ3t+h_DMKPZGM=+iwyiz=ha438JU_BJig@mail.gmail.com>

David Birdsong <david.birdsong@gmail.com> wrote:
> On Tue, Feb 3, 2015 at 3:59 PM, David Birdsong <david.birdsong@gmail.com>
> wrote:
> 
> > Hi Eric, I'm troubleshooting my client that's PUTing to cmogstored and
> > getting 400 response codes.
> >
> > If I supply a header:
> > Content-MD5: MJH_pL-pTjsfQV4PiYDLFA==

How are you generating that base64?

I could be wrong, but it the '_' (underscore) is not a part of the
normal set of characters used by base64.  Perhaps you're using a base64
variant? (there's one URL-friendly variant, at least)

It doesn't look like the gnulib base64 module (which cmogstored uses)
handles underscore... (warning: I'm sleep deprived and haven't touched
a computer in a few days, so maybe I'm missing something, too)

  reply	other threads:[~2015-02-04  0:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CABJfL5iOmEtE-S1teCzAsish-Z9Rz9rMYu_6nvuXtXqYX3PSfA@mail.gmail.com>
2015-02-04  0:07 ` help w/ md5sum PUT David Birdsong
2015-02-04  0:20   ` Eric Wong [this message]
2015-02-04  0:24     ` David Birdsong
2015-02-04  0:28       ` David Birdsong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/cmogstored/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150204002024.GA882@dcvr.yhbt.net \
    --to=e@80x24.org \
    --cc=cmogstored-public@bogomips.org \
    --cc=david.birdsong@gmail.com \
    --cc=mogile@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/cmogstored.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).