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 <ty...@tycho.ws> To: python-list@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<ty...@tycho.ws> wrote: > Hi Ido, > > On Tue, Aug 4, 2009 at 6:25 AM, Ido Levy<i...@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
-- http://mail.python.org/mailman/listinfo/python-list