From cbe066910395d8bfbb35b88ad781b84d2c54a52d Mon Sep 17 00:00:00 2001 From: Eden Yemini Date: Sun, 26 May 2024 18:22:49 +0300 Subject: [PATCH] Fix a typo in ASGI docs Signed-off-by: Eden Yemini --- docs/content/exporting/http/asgi.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/exporting/http/asgi.md b/docs/content/exporting/http/asgi.md index 4ff115ea..5b9d5430 100644 --- a/docs/content/exporting/http/asgi.md +++ b/docs/content/exporting/http/asgi.md @@ -14,10 +14,10 @@ app = make_asgi_app() Such an application can be useful when integrating Prometheus metrics with ASGI apps. -By default, the WSGI application will respect `Accept-Encoding:gzip` headers used by Prometheus +By default, the ASGI application will respect `Accept-Encoding:gzip` headers used by Prometheus and compress the response if such a header is present. This behaviour can be disabled by passing `disable_compression=True` when creating the app, like this: ```python app = make_asgi_app(disable_compression=True) -``` \ No newline at end of file +```