CloudContext
...
require 'cloud_context'Size Limitations
While there is technically no limit to header size, servers generally enforce limits. For example, Apache's default is 8KB and will return HTTP Status code 413 - Entity Too Large. Additionally, headers adds overhead to every request being made, so use CloudContext sparingly. To approximate byte size:
CloudContext.bytesizeMulti-threading Limitations
CloudContext allocates a new context for each thread.
Contributing
Yes please :)
- Fork it
- Create your feature branch (
git checkout -b my-feature) - Ensure the tests pass (
bundle exec rspec) - Commit your changes (
git commit -am 'awesome new feature') - Push your branch (
git push origin my-feature) - Create a Pull Request
Inspired by
- https://webapps-for-beginners.rubymonstas.org/rack/rack_env.html
- request_store
- request_store-sidekiq
- request_context
- faraday_middleware