Tommi Virtanen
6577c8266c
Flag some fails_on_dho tests as fails_on_rgw too.
2011-08-11 08:47:25 -07:00
Tommi Virtanen
199b8b46c5
Test S3 api for handling of Content-MD5 that does not match.
...
The existing test_object_create_bad_md5_invalid is not valid
base64, and hence triggers a different code path. This time,
submit valid base64, but have the result not match the expected
md5sum.
2011-08-10 14:55:34 -07:00
Stephon Striplin
a1102aaaad
add Authorization header tests
2011-07-28 16:46:53 -07:00
Stephon Striplin
1dedf26b95
refactor header update logic
2011-07-28 11:34:52 -07:00
Stephon Striplin
832b297cec
support multiple boto versions for header writing
...
Depending on the version of boto, different methods are necessary for
manipulating headers. We now support 2.0rc1 and 2.0 by sub-classing
boto.s3.connection.S3Connection and overloading
boto.connection.HTTPRequest.authorize, respectfully.
2011-07-27 20:04:33 -07:00
Stephon Striplin
ade49565db
change utf8 -> unreadable on header tests
2011-07-27 11:49:18 -07:00
Stephon Striplin
3b15fc7547
add Date header tests
2011-07-27 10:31:00 -07:00
Stephon Striplin
28c4b432c4
add a Content-Type header test
2011-07-27 10:30:24 -07:00
Stephon Striplin
ab7b4eb03d
update Content-Length header tests
...
* Add more tests
* Add nose.with_setup on some tests
2011-07-27 10:30:00 -07:00
Stephon Striplin
73a2f8fd7f
add another Expect header test
2011-07-27 10:29:37 -07:00
Stephon Striplin
2b63bfc18d
update MD5 header tests
...
* Rename a test
* Add more tests
2011-07-27 10:29:06 -07:00
Stephon Striplin
405f33e10c
add User-Agent header tests
2011-07-27 10:28:03 -07:00
Stephon Striplin
82ac4f0138
subclass S3Connection class for headers
...
This makes it possible to overwrite all headers
2011-07-27 10:27:45 -07:00
Stephon Striplin
a775f5da04
add Content-Type object tests
2011-07-25 14:12:50 -07:00
Stephon Striplin
2e351e9eb8
add header-manipulation tests
...
These tests are based on explicitly modifying headers in some way.
2011-07-25 11:25:39 -07:00