libsoup and http redirect request
- From: "Marc Murphy" <marcmltd marcm co uk>
- To: <libsoup-list gnome org>
- Subject: libsoup and http redirect request
- Date: Thu, 5 May 2011 17:16:57 +0100
Hello all,
I have been trying to use the http redirect facility when I request to GET a file from a server. The server will return with a new 'Location' and I can see the redirect handler being called but the uri isn't actioned. e.g.;
In soup-session.c redirect_handler is called and the new uri extracted and soup_message_set_uri followed by soup_session_requeue_message called. The result is nothing happens.
If I resolve the domain name to and IP address and replace the domain name in the new uri it works. Is there something I am missing in the automated redirect handling of libsoup ?
I am using libsoup-2.26.3 and I have tried libsoup-2.29.91 and libsoup-2.4.1 all with the same result.
Thanks in advance
Marc.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]