mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
SimpleDB will not accept UTF-8 encoded non-ascii characters unless the charset is specified.
This commit is contained in:
parent
af7f0dfe82
commit
c1152c3272
1 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@ module Fog
|
|||
|
||||
requires :aws_access_key_id, :aws_secret_access_key
|
||||
recognizes :host, :nil_string, :path, :port, :scheme, :persistent
|
||||
|
||||
|
||||
request_path 'fog/aws/requests/simpledb'
|
||||
request :batch_put_attributes
|
||||
request :create_domain
|
||||
|
@ -43,7 +43,7 @@ module Fog
|
|||
# Initialize connection to SimpleDB
|
||||
#
|
||||
# ==== Notes
|
||||
# options parameter must include values for :aws_access_key_id and
|
||||
# options parameter must include values for :aws_access_key_id and
|
||||
# :aws_secret_access_key in order to create a connection
|
||||
#
|
||||
# ==== Examples
|
||||
|
@ -164,7 +164,7 @@ module Fog
|
|||
response = @connection.request({
|
||||
:body => body,
|
||||
:expects => 200,
|
||||
:headers => { 'Content-Type' => 'application/x-www-form-urlencoded' },
|
||||
:headers => { 'Content-Type' => 'application/x-www-form-urlencoded; charset=utf-8' },
|
||||
:host => @host,
|
||||
:idempotent => idempotent,
|
||||
:method => 'POST',
|
||||
|
|
Loading…
Add table
Reference in a new issue