oncall-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
..
apps Use X-WR-TIMEZONE as calendar tz when available, fallback to UTC (#2091) 2023-06-02 17:28:04 +00:00
common Phone provider refactoring (#1713) 2023-05-24 06:27:48 +00:00
config_integrations Fix demo alert for inbound email (#2081) 2023-06-02 09:44:32 +00:00
engine Remove request reading middleware as we use post-buffering (#2094) 2023-06-05 11:49:39 +08:00
settings Remove request reading middleware as we use post-buffering (#2094) 2023-06-05 11:49:39 +08:00
static/images World, meet OnCall! 2022-06-03 08:09:47 -06:00
.dockerignore One startup command to rule them all (#760) 2022-11-07 16:34:43 +01:00
.gitignore modify push notification settings + use fcm-django library (#998) 2022-12-20 12:41:34 +01:00
celery_with_exporter.sh Add flag to debug logs (#912) 2022-11-29 11:16:42 +08:00
conftest.py OnCall prometheus metrics exporter (#1605) 2023-05-25 18:26:13 +00:00
Dockerfile Fix SQLite permission issue (#1984) 2023-05-22 19:16:31 +00:00
manage.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
pyproject.toml World, meet OnCall! 2022-06-03 08:09:47 -06:00
requirements.txt OnCall prometheus metrics exporter (#1605) 2023-05-25 18:26:13 +00:00
tox.ini Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00
uwsgi.ini Configure pyroscope (#1638) 2023-03-28 11:34:37 +08:00
wait_for_test_mysql_start.sh Revert "Revert "speed up ci builds from 15 to <7 minutes"" (#1643) 2023-03-28 09:34:03 +02:00