Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upExpose RedirectAttempt and RedirectAction types #105
Comments
dtolnay
referenced this issue
May 31, 2017
Open
Tracking issue for libz blitz evaluation of reqwest #120
seanmonstar
added
the
easy
label
May 31, 2017
seanmonstar
modified the milestone:
1.0
May 31, 2017
seanmonstar
closed this
in
#137
Jun 4, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dtolnay commentedMay 31, 2017
These are used in the signature of
RedirectPolicy::custom. They are not currently exposed in a way that crates depending on reqwest can name them. That meanscustommust be called with a closure relying on type inference:It is not possible to factor the logic out into a function:
Let's expose RedirectAttempt and RedirectAction to make it possible to write such a function.