Skip to content

Commit

Permalink
Add TODO for web implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Jan 17, 2024
1 parent 9476eb8 commit 145727b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ehttp/src/web.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ pub(crate) async fn fetch_base(request: &Request) -> Result<web_sys::Response, J
pub(crate) fn get_response_base(response: &web_sys::Response) -> Result<PartialResponse, JsValue> {
// https://developer.mozilla.org/en-US/docs/Web/API/Headers
// "Note: When Header values are iterated over, […] values from duplicate header names are combined."
// TODO: support duplicate header names
let js_headers: web_sys::Headers = response.headers();
let js_iter = js_sys::try_iter(&js_headers)
.expect("headers try_iter")
Expand Down

0 comments on commit 145727b

Please sign in to comment.