Roundup Tracker - Issues

Message6761

Author rouilj
Recipients rouilj, schlatterbeck
Date 2019-10-23.03:31:45
Message-id <1571801505.56.0.0779379795448.issue2551047@roundup.psfhosted.org>
In-reply-to
Hi Ralf:

I have a working wsgi setup. I am testing with uwsgi.
I also have gnuicorn working without chunked encoding issues.

In testing, it looks like GET works.

I think I have fixed crash issues with OPTIONS and DELETE.

POST, PUT and PATCH work if I use: application/x-www-form-urlencoded
If I use application/json I get crashes as the form passed into
the rest code isn't constructed right and the call to self.handle_csrf()
attempts to run:

  "@csrf" in self.form

and crashes as self.form.list is None which gives type error not indexable.

I think some of the logic that parses the input data and allows json to pass through needs to be duplicated in the wsgi handler to pass the json.

I'm checking it the changes to the wsgi handler now. Can you update and see
what else is still broken.
History
Date User Action Args
2019-10-23 03:31:45rouiljsetmessageid: <1571801505.56.0.0779379795448.issue2551047@roundup.psfhosted.org>
2019-10-23 03:31:45rouiljsetrecipients: + rouilj, schlatterbeck
2019-10-23 03:31:45rouiljlinkissue2551047 messages
2019-10-23 03:31:45rouiljcreate