souphttpsrc: Extract redirection uri on libsoup's restarted callback
authorSeungha Yang <sh.yang@lge.com>
Fri, 10 Feb 2017 11:50:17 +0000 (20:50 +0900)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 22 Feb 2017 14:15:22 +0000 (16:15 +0200)
commit804f238b3e0e873fa77aa43a4d38fab33df1c31c
tree06e63f9670159f9b20387639cc2bf569db012373
parent0b83e4ceaf7d9a5cc655ff96bd288b61ef106347
souphttpsrc: Extract redirection uri on libsoup's restarted callback

Let libsoup handle redirection automatically.
And then, to figure out redirection uri, extract it on "restarted"
callback which will be fired before soup_session_send() is returned.

https://bugzilla.gnome.org/show_bug.cgi?id=778428
ext/soup/gstsouphttpsrc.c