From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Status: No, score=0.3 required=3.0 tests=AWL,BAYES_00,FREEMAIL_FROM shortcircuit=no autolearn=ham version=3.3.2 X-Original-To: cmogstored-public@bogomips.org Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 0B6AA1F5F1 for ; Wed, 4 Feb 2015 00:08:02 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id eu11so102661646pac.13 for ; Tue, 03 Feb 2015 16:08:01 -0800 (PST) X-Received: by 10.70.48.170 with SMTP id m10mr486027pdn.142.1423008481542; Tue, 03 Feb 2015 16:08:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.70.127.239 with HTTP; Tue, 3 Feb 2015 16:07:41 -0800 (PST) In-Reply-To: References: From: David Birdsong Date: Tue, 3 Feb 2015 16:07:41 -0800 Message-ID: Subject: Re: help w/ md5sum PUT To: mogile@googlegroups.com, cmogstored-public@bogomips.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: PublicInbox::Filter 0.0.1 List-Id: [resending to the correct cmogstored list] On Tue, Feb 3, 2015 at 3:59 PM, David Birdsong 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== > > cmogstored returns a 400. > > If I don't set it, I get a 201 and find the fid on disk and see that its > md5 sum (hex encoded) is: 3091ffa4bfa94e3b1f415e0f8980cb14 > > > python -c "print 'MJH_pL-pTjsfQV4PiYDLFA=='.decode('base64').encode('hex')" > > 3091e92e94e3b1f415e0f8980cb140 > > Got any tips as to how to get cmogstored to allow this MD5? > > I built cmogstored built at version 1.4.1 >