Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Per request redirects #46

Closed
wants to merge 85 commits into from
Closed

Per request redirects #46

wants to merge 85 commits into from

Conversation

erwan
Copy link

@erwan erwan commented Sep 23, 2010

As discussed on the mailing list, here is a "setFollowRedirect()" method on the builder, to be included in the chain when building a request.

Thomas Dudziak and others added 30 commits July 26, 2010 22:50
…mechanism, with implementations for jul, log4j and slf4j
("Asymmetric use of Request.getUrl() & Request.getQueryParameters()")

Make sure we always properly construct the Request's url.
("Patch to allow hooking up a signature calculator (like OAuth)")

See the link above for more information. Patch Provided by Tatu Saloranta
…sue/3

("InputStream.read(buffer) is assumed to always read all the data")

See the link above for the complete description. Patch provided by Tatu Saloranta
Conflicts:
	src/main/java/com/ning/http/client/providers/NettyAsyncHttpProvider.java
…sue/4

("Encode form param")

See discussion on the link above
…sues/closed#issue/3

("InputStream.read(buffer) is assumed to always read all the data")

Support InputStream with bogus available return value
jfarcand and others added 29 commits September 14, 2010 21:51
…sue/14

("Add an API an AsyncProvider can use to support zero copy of bytes.")

And a new API that allow zero copy of bytes.
…sue/15

("Make Response getter more robust, add helper")

See issue description
…sue/16

("NettyAsyncProvider optimization: avoid invoking onStatusReceived and onHeadersReceived multiple time per transaction")

See issue for description.
0  - in request timeout is marker for not set value
-1 - is infinite waiting
…sue/17

("Do not set a default Content-Type")

See issue description
…sue/10

("Parameter encoding issue executing a request built with RequestBuilder")

Patch provided by: Erwan Loisant
…sue/20

("The current reaper may close connection event if they are active")

See description.
Conflicts:
	src/main/java/com/ning/http/client/providers/NettyAsyncHttpProvider.java
Got it overwritten by last merge.
When location (or host + location in case of relative locations) is same as uri,
return with redirect status code rather than looping until maxRedirects exception.
allow urls such as http://youtu.be/26dBZ7DPglE?a
(pattern used by a lot of url shorteners)
…g redirection or not on a per request base, chaining
@erwan
Copy link
Author

erwan commented Sep 23, 2010

That's not right, it should be one commit.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants