Skip to content

Commit 98fe23a

Browse files
author
tctinh
committed
feat: add headers initialization for response transformation in Antigravity
1 parent 09509c3 commit 98fe23a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/plugin/request.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,7 @@ export async function transformAntigravityResponse(
642642
}
643643

644644
try {
645+
const headers = new Headers(response.headers);
645646
const text = await response.text();
646647

647648
if (!response.ok) {

0 commit comments

Comments
 (0)