From 4f5f1c48c3d7cdb9c4ac245fe86fb39eda43cb20 Mon Sep 17 00:00:00 2001 From: Patrick Arminio Date: Sat, 2 Mar 2024 02:29:35 +0100 Subject: [PATCH] Fix check --- strawberry/http/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strawberry/http/base.py b/strawberry/http/base.py index 2478c55574..b69766ec58 100644 --- a/strawberry/http/base.py +++ b/strawberry/http/base.py @@ -86,4 +86,4 @@ def _is_multipart_subscriptions( if params.get("boundary") != "graphql": return False - return params.get("subscriptionspec") == "1.0" + return params.get("subscriptionspec", "").startswith("1.0")