Skip to content

Commit 469e44f

Browse files
Merge #582
582: Remove the capital from our custom header name when running in wasm r=curquiza a=irevoire # Pull Request ## Related issue Fixes #580 Co-authored-by: Tamo <[email protected]>
2 parents 4b3338d + d8b4634 commit 469e44f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reqwest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ impl ReqwestClient {
3232
);
3333
#[cfg(target_arch = "wasm32")]
3434
headers.insert(
35-
header::HeaderName::from_static("X-Meilisearch-Client"),
35+
header::HeaderName::from_static("x-meilisearch-client"),
3636
header::HeaderValue::from_str(&qualified_version()).unwrap(),
3737
);
3838

0 commit comments

Comments
 (0)