SoupSession: Add http-aliases and https-aliases properties
authorDan Winship <danw@gnome.org>
Sun, 26 Jul 2009 14:43:14 +0000 (10:43 -0400)
committerDan Winship <danw@gnome.org>
Sat, 5 Nov 2011 13:10:03 +0000 (09:10 -0400)
commitc68bff78ac88efb0abc5bf2aa50866d67ed64d76
treef6eb2ad3f836cb6504358453b96794c75306d3e9
parent917650e918ff55d0b78a4784474285ca43e84703
SoupSession: Add http-aliases and https-aliases properties

Currently SoupSession treats all URI schemes except "https" as aliases
for "http", and some apps depend on this. (Eg, iTunes sometimes
returns redirects involving "daap" URIs, which Rhythmbox needs to
treat as "http".) Unfortunately, this also means that it mishandles
redirects to, eg, ftp.

The http-aliases and https-aliases properties allow an app to
explicitly indicate which URI schemes should be considered aliases for
http and https, with other schemes considered to be unknown and
unhandled.
docs/reference/libsoup-2.4-sections.txt
libsoup/soup-session.c
libsoup/soup-session.h