We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05f65bc commit 6694684Copy full SHA for 6694684
src/httpClient/httpURLConnectionClient.ts
@@ -174,7 +174,7 @@ class HttpURLConnectionClient implements ClientInterface {
174
}
175
176
// Handle 308 redirect
177
- if (res.statusCode && res.statusCode == 308) {
+ if (res.statusCode && res.statusCode === 308) {
178
const location = res.headers['location'];
179
if (location) {
180
// follow the redirect
0 commit comments