We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca8f050 commit 51d7ecfCopy full SHA for 51d7ecf
sdk/core/azure-core/azure/core/pipeline/policies/_universal.py
@@ -511,7 +511,7 @@ class ContentDecodePolicy(SansIOHTTPPolicy):
511
:type response_encoding: str
512
"""
513
# Accept "text" because we're open minded people...
514
- JSON_REGEXP = re.compile(r'^(application|text)/([0-9a-z+.-]+\+)?json$')
+ JSON_REGEXP = re.compile(r'^(application|text)/(.+\+)?json$')
515
516
# Name used in context
517
CONTEXT_NAME = "deserialized_data"
0 commit comments