Skip to content

Commit 6694684

Browse files
Update src/httpClient/httpURLConnectionClient.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 05f65bc commit 6694684

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/httpClient/httpURLConnectionClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ class HttpURLConnectionClient implements ClientInterface {
174174
}
175175

176176
// Handle 308 redirect
177-
if (res.statusCode && res.statusCode == 308) {
177+
if (res.statusCode && res.statusCode === 308) {
178178
const location = res.headers['location'];
179179
if (location) {
180180
// follow the redirect

0 commit comments

Comments
 (0)