redirect error, oauth replay by jloomis · Pull Request #6 · AsyncHttpClient/async-http-client · GitHub
Skip to content

redirect error, oauth replay#6

Closed
jloomis wants to merge 2 commits into
AsyncHttpClient:fc51bfe0from
jloomis:master
Closed

redirect error, oauth replay#6
jloomis wants to merge 2 commits into
AsyncHttpClient:fc51bfe0from
jloomis:master

Conversation

@jloomis

@jloomis jloomis commented Apr 5, 2011

Copy link
Copy Markdown
Contributor

first commit is to make it a little easier to use response filter + signature calculator; curr have to do something like
FluentCaseInsensitiveStringsMap headers = ctx.getRequest().getHeaders();
headers.remove(OAuthSignatureCalculator.HEADER_AUTHORIZATION);
RequestBuilder builder = new RequestBuilder(ctx.getRequest());
signatureCalculator.calculateAndAddSignature(endpoint, ctx.getRequest(), builder);
return new FilterContext.FilterContextBuilder(ctx).request(builder.build()).replayRequest(true).build();

2nd is to fix a regression from 5a25ee

@jfarcand

jfarcand commented Apr 7, 2011

Copy link
Copy Markdown
Contributor

@jfarcand jfarcand closed this Apr 7, 2011
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.

2 participants