fog / fog-backblaze

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

Support for X-Bz-Test-Mode headers #16

Closed brycied00d closed 4 years ago

brycied00d commented 5 years ago

Backblaze's B2 API supports an optional HTTP request header during API transactions, X-Bz-Test-Mode. By setting this header to certain specific values, a developer is able to trigger intermittent failures at different stages in a session, enabling deeper testing of their error handling.

https://www.backblaze.com/b2/docs/integration_checklist.html

Paxa commented 4 years ago

Added connection.options[:headers]