aboutsummaryrefslogtreecommitdiff
path: root/src/api/http_util.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/http_util.rs')
-rw-r--r--src/api/http_util.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/api/http_util.rs b/src/api/http_util.rs
index 2f052117..029b7020 100644
--- a/src/api/http_util.rs
+++ b/src/api/http_util.rs
@@ -82,9 +82,3 @@ impl From<Vec<u8>> for BytesBody {
Self::new(Bytes::from(x))
}
}
-
-pub fn xml_escape(s: &str) -> String {
- s.replace("<", "&lt;")
- .replace(">", "&gt;")
- .replace("\"", "&quot;")
-}