File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/http/httpx/kiota_http Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -427,7 +427,7 @@ async def get_root_parse_node(
427427
428428 def _should_return_none (self , response : httpx .Response ) -> bool :
429429 """Helper function to check if the response should return None.
430-
430+
431431 Conditions:
432432 - The response status code is 204 or 304
433433 - the response content is empty.
@@ -629,7 +629,7 @@ async def retry_cae_response_if_required(
629629 ):
630630 claims_match = re .search ('claims="([^"]+)"' , auth_header_value )
631631 if not claims_match :
632- raise ValueError ( "Unable to parse claims from response" )
632+ return resp
633633 response_claims = claims_match .group (1 )
634634 parent_span .add_event (AUTHENTICATE_CHALLENGED_EVENT_KEY )
635635 parent_span .set_attribute ("http.retry_count" , 1 )
You can’t perform that action at this time.
0 commit comments