Re: [Zope-dev] Arguments without values

2001-01-19 Thread Steve Alexander

Chris Withers wrote:

> Hi :-)
> 
> Can anyone tell me why this URL:
> 
> http://localhost:8080/mymethod?edit
> 
> ...doesn't result in:
> 
> REQUEST['edit']=None

try http://localhost:8080/mymethod?edit=

Look in lib/python/ZPublisher/cgi.py if you want to change the way it works.

You might also want to see the CGI specification:

   http://hoohoo.ncsa.uiuc.edu/cgi/

--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




[Zope-dev] Arguments without values

2001-01-19 Thread Chris Withers

Hi :-)

Can anyone tell me why this URL:

http://localhost:8080/mymethod?edit

...doesn't result in:

REQUEST['edit']=None

...which is what I'd expect. 
What actually happens is that edit doesn't appear in REQUEST at all :-(

Where should I look to fix this?

cheers,

Chris

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )