1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00
Commit graph

18 commits

Author SHA1 Message Date
Frederick Cheung
d2287ba09c Another attempt to solve content-encoding header issues
identity should not be used as a content encoding
2015-05-07 08:19:06 +01:00
Mathew Kamkar
36c82ab9f6 Refresh credentials if needed when signing S3 URL 2015-05-02 01:07:08 -07:00
Josh Lane
5903a7819b Merge pull request #62 from plribeiro3000/fix-loading-time
Reduce loading time
2015-04-07 13:08:23 -07:00
Paulo Henrique Lopes Ribeiro
722bbdfa45 Remove unecessary requires 2015-04-06 11:23:35 -03:00
Frederick Cheung
9b9faf6818 Fix blank content-encoding when none is supplied
Signature v4 requires that we insert a content-encoding header when doing
a streaming upload. If there is no pre-existing content encoding we should
set it to identity or some client may be confused by a blank content encoding
2015-03-21 14:41:32 +00:00
Matthew O'Riordan
1f6e9a9c41 Fix for undefined method map' for nil:NilClass`
1e799c5918 expects that params[:query] is always defined, and also introduced another bug that reassigned params incorrectly
2015-03-13 16:40:04 +00:00
James Myers
1e799c5918 Stringify keys for query parameters
* The query hash expects that all keys are strings. If the query hash
  has both string and symbol keys the `signature_v2` method raises an
  exception
* The query hash is often the leftover keys that have not been
  extracted from the initial request.
* The conversion of sym -> string is done elsewhere for other parameters
* Makes the request more robust in general.
2015-03-07 18:29:42 -08:00
Duarte Henriques
ba6a4cb454 Add support for cname buckets 2015-02-24 19:39:57 +00:00
mrloop
2b677d4dbd Making it easier to get pre-signed head requests
Very similar to get_url. https://github.com/fog/fog-aws/issues/47
2015-02-07 12:57:19 +00:00
Wesley Beary
963b150a7e Merge pull request #33 from nicholasklick/region_is_null
BUGFIX: When fog_credentials endpoint is set @region defaults to nil
2015-01-25 18:26:58 -06:00
Wesley Beary
c01c5e0817 Merge pull request #39 from greysteil/region-errors
Allow for AWS errors not specifying region
2015-01-25 18:14:17 -06:00
Grey Baker
29fbda675f Allow for AWS errors not specifying region 2015-01-24 11:46:17 +00:00
Frederick Cheung
becea65ad8 [AWS|Storage] signed_url should use v2 signature when aws_signature_version is 2 2015-01-23 21:47:30 +00:00
Nicholas Klick
4c7bf1db18 BUGFIX: When endpoint is set @region defaults to nil 2015-01-20 15:04:34 -05:00
geemus
f8513dc928 another attempt at s3 region redirecting 2015-01-09 16:42:07 -06:00
Josh Lane
c3626c8637 latest import
* still waiting on fog/fog#3376
2015-01-06 09:32:01 -08:00
Josh Lane
dcfd354b8a working tests 2015-01-02 09:42:20 -08:00
Josh Lane
d48d376e9c initial import
* take the liberty of correcting Aws naming
2014-12-31 09:17:51 -08:00