Commit Graph

13 Commits

Author SHA1 Message Date
mfranke
5dc8e59fab Fix s3bucket_path (#784)
* check HTTP header for IPv4 or IPv6 addresses and default to path based S3

* improved IPv4 and IPv6 checking with optional ports

* typo

* subdomain bucket creation with trailing '/' did not work

* Use regex for Host field check to determine IPv4/IPv6

* add testcases for trailing slash, IPv4 and IPv6
2016-12-03 18:15:24 -05:00
Steve Pulec
eba9033cc9 cleanup flask paths with trailing slashes. 2016-01-24 17:13:32 -05:00
zeb
b59a77d5bb Tweak bucket.delete_keys for s3bucket_path. 2015-09-04 19:02:26 +02:00
Konstantinos Koukopoulos
f46c2508c0 allow running mock_s3 and mock_s3bucket_path one after the other 2015-02-20 21:50:49 +02:00
Jeff Balogh
c7bf6ffc91 Folder results should include the delimiter. 2015-01-29 09:20:40 -08:00
Steve Pulec
1a015d0e39 Cleanup some incorrect date formats. 2014-11-29 23:34:40 -05:00
David Baumgold
eedb4c4b73 Support Python 3 using six 2014-08-28 10:57:43 -04:00
David Baumgold
4201e6b430 from __future__ import unicode_literals 2014-08-27 11:33:55 -04:00
Steve Pulec
1767d17018 Cleanup S3 a bit and add more coverage 2014-03-30 11:50:36 -04:00
Steve Pulec
60cd79c6e2 S3 Mock should return an HTTP 409 if trying to create a bucket that
already exists. Closes #94.
2014-03-16 21:25:54 -04:00
Eric Lang
fcb2542410 Special characters now allowed in s3bucket_path keys. Fixes issue #78. 2014-01-07 13:25:14 -08:00
Steve Pulec
8b278eb05d Clean up querystring logic. 2013-12-29 21:50:25 -05:00
Brock Pytlik
5a475881d2 support bucket names in url paths in s3bucket_path 2013-11-08 15:36:38 -05:00