Ok, urlencoding solved the problem. Thanks again...
On Feb 8, 3:22 pm, admin go2 <[email protected]> wrote:
> You should use POST instead of GET. Since GET request would hit the google
> cache server.
> If you must use GET request, please try this
> urlhttp://server/index.php?auth=authstring&random=a_random_number
>
> And make sure authstring is urlencoded.
>
> go2.appspot.com
>
> http://go2.appspot.com
>
>
>
>
>
>
>
> > Hi everyone,
>
> > I'm having trouble with using urlfetch. I'm trying to fetch a page
> > that needs authentication. The authentication is done by using an url
> > parameter (iehttp://server/index.php?auth=authstring).
>
> > When I write the url in my browser, the page I want is shown. When I
> > call the fetch function with the same url, the login page is retrieved
> > instead of the expected page, as if the authentication parameter
> > wasn't recognised. I'm calling the function only with the url as the
> > parameter ( urlfetch.fetch(http://server/index.php?auth=authstring) ),
> > so the request should be a normal GET request.
>
> > Could you please tell me what am I doing wrong?
>
> > Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---