How to fetch an XML file using an HTTPS query
IDOL at il.ibm.com
Wed Aug 5 06:24:48 CEST 2009
Thank you for your advice.
My problem was in the query itself, I replaced every space character with
'%20' and it works.
You are right, the Python code below does do the work.
Tycho Andersen <tycho at tycho.ws>
python-list at python.org
04/08/2009 04:42 PM
Re: How to fetch an XML file using an HTTPS query
Blah, forgot to include the list. When is python-list going to get
On Tue, Aug 4, 2009 at 8:38 AM, Tycho Andersen<tycho at tycho.ws> wrote:
> Hi Ido,
> On Tue, Aug 4, 2009 at 6:25 AM, Ido Levy<IDOL at il.ibm.com> wrote:
>> I got the following result in both cases:
>> <?xml version="1.0"?>
>> <Error>Invalid filter passed.</Error>
> To me, this doesn't look like a python problem: the application was
> successfully connected to and returned a result. The problem you're
> experiencing is that it wasn't the result you expected. Are you sure
> you're setting the right headers, posting the right form values, etc.
> and giving the app exactly what it wants?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list