You want RFC 1738 (Uniform Resource Locators):
http://www.faqs.org/rfcs/rfc1738.html and section 3.2 of RFC 2616
(HTTP): http://www.faqs.org/rfcs/rfc2616.html
Neither spec actually requires that the query string take a particular
form, other than specifying what characters are valid in that part
I already happy if I do not violate any URL syntax specifications by
just writing &ishere
Where can I find the specification that says I do it correctly?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App En
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 wrote:
> leaving off the =value part o
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.