aboutsummaryrefslogtreecommitdiffstats
path: root/components/net/fetch/methods.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2017-04-05 15:01:31 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2017-04-05 15:01:31 +0200
commite6cc88e5a2f7cc9a149e12145aae7912f071bc36 (patch)
tree9bb4429c4078b271171df1710db625666546521a /components/net/fetch/methods.rs
parent5313e00e3aca62b55bbe2b41a4aa7298ae4f1467 (diff)
downloadservo-e6cc88e5a2f7cc9a149e12145aae7912f071bc36.tar.gz
servo-e6cc88e5a2f7cc9a149e12145aae7912f071bc36.zip
Kill some commented-out code
Diffstat (limited to 'components/net/fetch/methods.rs')
-rw-r--r--components/net/fetch/methods.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/components/net/fetch/methods.rs b/components/net/fetch/methods.rs
index 4e46700586d..49fd0563297 100644
--- a/components/net/fetch/methods.rs
+++ b/components/net/fetch/methods.rs
@@ -490,11 +490,6 @@ pub fn is_simple_method(m: &Method) -> bool {
}
}
-// fn modify_request_headers(headers: &mut Headers) -> {
-// // TODO this function
-
-// }
-
fn is_null_body_status(status: &Option<StatusCode>) -> bool {
match *status {
Some(status) => match status {