serviejs / popsicle

Simple HTTP requests for node and the browser
MIT License
246 stars 19 forks source link

Change redirect_type.follow_with_get #112

Closed Feverqwe closed 6 years ago

Feverqwe commented 6 years ago

Hello! I try to get HEAD, but see ETOOLARGE error, because after redirect method is GET. How I can disable changing request method after redirect?

Thx.

blakeembrey commented 6 years ago

Thanks for the report. I'm going to do a quick overhaul of this code to ensure it follows the specs now instead of following popular, but outdated, behaviours.