[Grok-dev] Re: Using POST request

Andreas Jung lists at zopyx.com
Sat Mar 22 08:05:38 EDT 2008



--On 21. März 2008 18:59:53 +0100 Martijn Faassen <faassen at startifact.com> 
wrote:

> Andreas Jung wrote:
> [snip]
>> Only POST. All other views using GET work as expected.
>
> I'm also somewhat surprised that GET worked before the grok.layer()
> statement was in place on the grok.REST views. So you're saying this
> works?
>
> class MyREST2(grok.REST):
>     grok.context(eggserver)
>     grok.layer(MyPubLayer)
>
>     def GET(self):
>        import pdb; pdb.set_trace()
>
>

GET works for me, but POST does not.

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/grok-dev/attachments/20080322/eabbde3a/attachment.bin


More information about the Grok-dev mailing list