collective / collective.taskqueue

Asyncore-based asynchronous task queue for Plone
https://pypi.org/project/collective.taskqueue
8 stars 7 forks source link

'params' with POST request #13

Open zopyx opened 8 years ago

zopyx commented 8 years ago

Passing custom parameters to the worker method seems to work only for GET requests but not for POST requests. Not sure if this a but in collective.taskqueue or a limitation of the ZPublisher. A query string and a request body is in general not forbidden. The request body in my case a given JSON document which should not be modified.

datakurre commented 8 years ago

Thanks for the issue. Use case makes sense. I cannot say from memory where the issue could be, so need to check, test and fix later.

Andreas Jung kirjoitti ti joulukuuta 22 12:59:24 2015 GMT+0200:

Passing custom parameters to the worker method seems to work only for GET requests but not for POST requests. Not sure if this a but in collective.taskqueue or a limitation of the ZPublisher. A query string and a request body is in general not forbidden. The request body in my case a given JSON document which should not be modified.


Reply to this email directly or view it on GitHub: https://github.com/collective/collective.taskqueue/issues/1