fog / fog-backblaze

Integration library for gem fog and Backblaze B2 Cloud Storage
MIT License
19 stars 22 forks source link

Use string Hash indexes in put_object instead of symbols #15

Closed brycied00d closed 4 years ago

brycied00d commented 4 years ago

The {'foo': 'bar'} syntax represents a Hash with index :foo. Calls to merge that Hash with {'foo' => 'bar'} result in a Hash with two distinct elements instead of the original value being overridden. This manifested itself in put_object as the content_type option being ignored. There was also a duplicate Authorization header sent.

Fixes #14