or do this

http://example.appspot.com/?propect=22&isthere=0
or
http://example.appspot.com/?propect=22&isthere=1

then you do something like that
isthere = req.get('isthere','1') == '1'
Then you can get a boolean true (default)/false


On 14 mai, 22:04, Adam <[email protected]> wrote:
> leaving off the =value part of the name=value pair will not prevent
> name from being included in your dictionary of GET query parameters.
> You should be able to use something like:
>
> if "isthere" in request.params.keys():
>     # isthere is present
> else:
>     # isthere is not present
>
> to check for it.
>
> On May 14, 2:35 pm, "[email protected]"
>
> <[email protected]> wrote:
> > hi,
>
> > I just want to tell me appengine that something is there or not - thus
> > typically a boolean information.
>
> > I want to tell the appengine by using an URL string that is either:
>
> >http://example.appspot.com?propect=22&istherehttp://example.appspot.c...
>
> > &isthere shall communicate to the appengine this boolean information.
> > Is this the right way to do it or a breach of the specification of URL
> > formatting?
>
> > I think normally it expect a '=value' after &isthere ?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to