Re: Retrieve final URL after redirection
- From: Daniel Drake <dsd laptop org>
- To: Dan Winship <danw gnome org>
- Cc: libsoup-list gnome org
- Subject: Re: Retrieve final URL after redirection
- Date: Sat, 7 Sep 2013 09:41:10 -0600
On Sat, Sep 7, 2013 at 9:36 AM, Dan Winship <danw gnome org> wrote:
I don't get a redirect when I fetch that URI.
If I fetch "http://google.com/" with no "www", then it redirects to
"www.google.com", and the URI property on the message gets updated to
reflect that.
Hmm. http://google.com/ definitely redirects here too, but the URI
property does not change in my test case.
Another test case is http://ftp.gnome.org/pub/GNOME/sources/libsoup
This does redirect to http://ftp.gnome.org/pub/GNOME/sources/libsoup/
(trailing slash added).
But in the same test, the URI property does not change.
Anyway, good to know how this is supposed to work. I will dig into the
code and see if I can find an explanation.
Thanks
Daniel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]