forked from TrueCloudLab/s3-tests
add test for missing Content-Length header bucket creation
This commit is contained in:
parent
aa700f1c8a
commit
e4d78eccbb
1 changed files with 8 additions and 0 deletions
|
@ -502,3 +502,11 @@ def test_object_create_bad_date_after_end():
|
|||
eq(e.status, 403)
|
||||
eq(e.reason, 'Forbidden')
|
||||
eq(e.error_code, 'RequestTimeTooSkewed')
|
||||
|
||||
|
||||
@nose.with_setup(teardown=_clear_custom_headers)
|
||||
@attr('fails_on_dho')
|
||||
@attr('fails_on_rgw')
|
||||
def test_bucket_create_contentlength_none():
|
||||
_add_custom_headers(remove=('Content-Length',))
|
||||
get_new_bucket()
|
||||
|
|
Loading…
Reference in a new issue