s3,
config,
get_prefix,
+ TargetConnection,
+ targets,
)
@attr(method='put')
@attr(operation='create w/negative content length')
@attr(assertion='fails 400')
+@attr('fails_on_mod_proxy_fcgi')
@nose.with_setup(teardown=_clear_custom_headers)
def test_object_create_bad_contentlength_negative():
key = _setup_bad_object({'Content-Length': -1})
@attr(method='put')
@attr(operation='create w/non-graphic content length')
@attr(assertion='fails 400')
+@attr('fails_on_mod_proxy_fcgi')
@nose.with_setup(teardown=_clear_custom_headers)
def test_object_create_bad_contentlength_unreadable():
key = _setup_bad_object({'Content-Length': '\x07'})
host=main.host,
calling_format=main.calling_format,
)
- return conn
+ return TargetConnection(targets.main.default.conf, conn)
@attr(resource='bucket')
@attr(method='put')
@attr(method='put')
@attr(operation='create w/negative content length')
@attr(assertion='fails 400')
+@attr('fails_on_mod_proxy_fcgi')
@nose.with_setup(teardown=_clear_custom_headers)
def test_bucket_create_bad_contentlength_negative():
_add_custom_headers({'Content-Length': -1})
@attr(method='put')
@attr(operation='create w/non-graphic content length')
@attr(assertion='fails 400')
+@attr('fails_on_mod_proxy_fcgi')
@nose.with_setup(teardown=_clear_custom_headers)
def test_bucket_create_bad_contentlength_unreadable():
_add_custom_headers({'Content-Length': '\x07'})