How to fetch an XML file using an HTTPS query

Ido Levy IDOL at il.ibm.com
Wed Aug 5 00:24:48 EDT 2009


Hi Tycho,

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.

Ido



From:
Tycho Andersen <tycho at tycho.ws>
To:
python-list at python.org
Date:
04/08/2009 04:42 PM
Subject:
Re: How to fetch an XML file using an HTTPS query



Blah, forgot to include the list. When is python-list going to get 
Reply-To?

\t

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:
>> [snip]
>> I got the following result in both cases:
>>         <?xml version="1.0"?>
>>         <Devices>
>>         <Error>Invalid filter passed.</Error>
>>         </Devices>
>
> 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?
>
> \t
>
-- 
http://mail.python.org/mailman/listinfo/python-list


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090805/47a9e566/attachment-0001.html>


More information about the Python-list mailing list