Revision 7e402b46 snf-pithos-app/pithos/api/test/objects.py

b/snf-pithos-app/pithos/api/test/objects.py
601 601
                       for k, v in meta.iteritems())
602 602
        headers['HTTP_CONTENT_DISPOSITION'] = 'attachment; filename="%f2"'
603 603
        url = join_urls(self.pithos_path, self.user, cname, oname)
604
        r = self.put(url, data=data, content_type='application/pdf', **headers)
604
        r = self.put(url, data=data, content_type='application/pdf',
605
                     quote_extra=False, **headers)
605 606
        self.assertEqual(r.status_code, 400)
606 607

  
607 608
        headers['HTTP_CONTENT_DISPOSITION'] = ('attachment; filename="%s"' %

Also available in: Unified diff