Skip to content

Conversation

kinka
Copy link
Contributor

@kinka kinka commented Oct 13, 2023

根据

The XMLHttpRequest method getAllResponseHeaders() returns all the response headers, separated by CRLF, as a string, or returns null if no response has been received.ary/CRLF), as a string, or returns null if no response has been received.

该函数是可能返回为null的,不进行判断的话会导致异常。

@livehigh livehigh merged commit 2088198 into tencentyun:master Oct 17, 2023
@livehigh
Copy link
Collaborator

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants