aboutsummaryrefslogtreecommitdiffstats
path: root/components/net/fetch
diff options
context:
space:
mode:
Diffstat (limited to 'components/net/fetch')
-rw-r--r--components/net/fetch/methods.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/components/net/fetch/methods.rs b/components/net/fetch/methods.rs
index 06672e41fe1..369644a4c7c 100644
--- a/components/net/fetch/methods.rs
+++ b/components/net/fetch/methods.rs
@@ -7,7 +7,7 @@ use std::fs::File;
use std::io::{self, BufReader, Seek, SeekFrom};
use std::ops::Bound;
use std::sync::atomic::Ordering;
-use std::sync::{Arc, LazyLock, Mutex};
+use std::sync::{Arc, Mutex};
use std::{mem, str};
use base64::engine::general_purpose;
@@ -52,9 +52,6 @@ use crate::http_loader::{
use crate::local_directory_listing;
use crate::subresource_integrity::is_response_integrity_valid;
-static X_CONTENT_TYPE_OPTIONS: LazyLock<HeaderName> =
- LazyLock::new(|| HeaderName::from_static("x-content-type-options"));
-
pub type Target<'a> = &'a mut (dyn FetchTaskTarget + Send);
#[derive(Clone, Deserialize, Serialize)]