oncall-engine/engine/engine
Ildar Iskhakov 1bdb54df35
Remove request reading middleware as we use post-buffering (#2094)
# What this PR does

RequestBodyReadingMiddleware is excess as [post-buffering is
enabled](https://github.com/grafana/oncall/blob/dev/engine/uwsgi.ini#L17):

If an HTTP request has a body (like a POST request generated by a form),
you have to read (consume) it in your application. If you do not do
this, the communication socket with your webserver may be clobbered. If
you are lazy you can use the post-buffering option that will
automatically read data for you. For Rack applications this is
automatically enabled.
(https://uwsgi-docs.readthedocs.io/en/latest/ThingsToKnow.html)

## Which issue(s) this PR fixes

## Checklist

- [ ] Unit, integration, and e2e (if applicable) tests updated
- [ ] Documentation added (or `pr:no public docs` PR label added if not
required)
- [ ] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2023-06-05 11:49:39 +08:00
..
logging World, meet OnCall! 2022-06-03 08:09:47 -06:00
management/commands Phone provider refactoring (#1713) 2023-05-24 06:27:48 +00:00
tests add the ability to set/display "currently undergoing maintenance message" in the UI (#1917) 2023-05-12 15:44:09 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
celery.py Fix SQLite permission issue (#1984) 2023-05-22 19:16:31 +00:00
middlewares.py Remove request reading middleware as we use post-buffering (#2094) 2023-06-05 11:49:39 +08:00
parsers.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
urls.py Add initial setup for local dev prometheus exporter (#2039) 2023-06-01 12:31:33 +00:00
views.py add the ability to set/display "currently undergoing maintenance message" in the UI (#1917) 2023-05-12 15:44:09 +00:00
wsgi.py Update wsgi.py 2023-03-28 13:11:22 +08:00