Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(138)

Issue 195073: Handle relative redirection in BasicHttpFetcher

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 3 months ago by zhoresh
Modified:
14 years, 3 months ago
Reviewers:
Paul Lindner, johnfargo, shindig.remailer
Base URL:
http://svn.apache.org/repos/asf/incubator/shindig/trunk/
Visibility:
Public.

Description

Redirection requests (302), can specify location relative to source location. (for example try to get http://my.yahoo.com/) This change fix BasicHttpFetcher to follow such redirection correctly.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -1 line) Patch
java/gadgets/src/main/java/org/apache/shindig/gadgets/http/BasicHttpFetcher.java View 2 chunks +4 lines, -0 lines 0 comments Download
java/gadgets/src/test/java/org/apache/shindig/gadgets/http/AbstractHttpFetcherTest.java View 1 chunk +14 lines, -1 line 0 comments Download

Messages

Total messages: 3
zhoresh
14 years, 3 months ago (2010-01-27 18:15:56 UTC) #1
Paul Lindner
Thanks for the test case. This works with the httpclient 4.0 code I just proposed.
14 years, 3 months ago (2010-01-29 03:36:12 UTC) #2
johnfargo
14 years, 3 months ago (2010-02-01 21:01:28 UTC) #3
Code committed.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b