mesos / mesos-go

Go language bindings for Apache Mesos
Apache License 2.0
544 stars 146 forks source link

Prohibit http.Client from following internal redirects #332

Closed rboyer closed 6 years ago

rboyer commented 6 years ago

By prohibiting internal redirects inside of http.Client, we can let the framework code actually witness the 307 non-master redirects and update endpoint logic accordingly.

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-0.05%) to 58.439% when pulling c74b5942a7bb60d7e4512c107d3a2f126431458d on rboyer:prohibit-secret-redirects into a414b0462f4d867d07990e633664bed52dc7cb21 on mesos:master.

jdef commented 6 years ago

thanks for the PR! LGTM