httprb / http

HTTP (The Gem! a.k.a. http.rb) - a fast Ruby HTTP client with a chainable API, streaming support, and timeouts
MIT License
3.01k stars 321 forks source link

Use features on redirected requests #679

Closed nomis closed 3 years ago

nomis commented 3 years ago

When following redirects, features are not used for subsequent requests.

This makes it impossible to use automatic deflation after a redirect or to log and instrument redirected requests.

Wrap requests with configured features when following redirects.

tarcieri commented 3 years ago

Thank you!