update to falcon 3.0.0
Categories
(Socorro :: Antenna, task, P2)
Tracking
(Not tracked)
People
(Reporter: willkg, Assigned: willkg)
Details
Antenna uses Falcon 2.0.0 right now. Falcon 3.0.0 came out--we should upgrade.
While upgrading, we can fix bug #1562641.
| Assignee | ||
Comment 1•5 years ago
|
||
Grabbing this to do soon.
| Assignee | ||
Comment 2•4 years ago
|
||
Bumping bugs off my queue because I'm not going to get to them any time soon.
| Assignee | ||
Comment 3•4 years ago
|
||
I inadvertently did this in pull 769.
https://github.com/mozilla-services/antenna/pull/769
Changelog is here: https://falcon.readthedocs.io/en/3.0.0/changes/3.0.0.html
There are some follow-up changes we should make:
-
switch from
response.bodytoresponse.textRename falcon.Response.body and falcon.HTTPStatus.body to text. The old name is deprecated, but still available. (#1578)
-
verify unhandled exceptions get sent to sentry
-
look at switching to
MultipartFormHandlerMultipartFormHandler was added to enable support for multipart forms (of content type multipart/form-data) through falcon.Request.get_media(). (#953)
-
switch from
falcon.APItofalcon.AppThe falcon.API class was renamed to falcon.App. The old API class remains available as an alias for backwards-compatibility, but it is now considered deprecated and will be removed in a future release. (#1579)
Grabbing this to work on soon.
| Assignee | ||
Comment 4•4 years ago
|
||
I did a bunch of these in PR 778: https://github.com/mozilla-services/antenna/pull/778
The one thing we didn't do is switch to MultipartFormHandler. That's covered in bug #1562641.
Given that, I'm closing this out.
Description
•