Skip to content

Commit e04275b

Browse files
committed
Missed get_key_values_pairs removal in wasm.
1 parent 8f840d5 commit e04275b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wasm/lib/src/browser_module.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ fn browser_fetch(url: PyStringRef, args: FetchArgs, vm: &VirtualMachine) -> PyRe
8383

8484
if let Some(headers) = headers {
8585
let h = request.headers();
86-
for (key, value) in headers.get_key_value_pairs() {
86+
for (key, value) in headers {
8787
let key = vm.to_str(&key)?;
8888
let value = vm.to_str(&value)?;
8989
h.set(key.as_str(), value.as_str())

0 commit comments

Comments
 (0)