diff options
author | Alex Auvolat <alex@adnab.me> | 2020-04-28 10:18:14 +0000 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-04-28 10:18:14 +0000 |
commit | 0957d0fdfadb27e49c24d63994f52197a9c9cd1c (patch) | |
tree | 35b048599d44de01650d99ccc2de942498ac4038 /src/api/http_util.rs | |
parent | be35cbdce2bd4e42a2bfc41ff5b21e332d20eb29 (diff) | |
download | garage-0957d0fdfadb27e49c24d63994f52197a9c9cd1c.tar.gz garage-0957d0fdfadb27e49c24d63994f52197a9c9cd1c.zip |
Work on API
Diffstat (limited to 'src/api/http_util.rs')
-rw-r--r-- | src/api/http_util.rs | 6 |
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("<", "<") - .replace(">", ">") - .replace("\"", """) -} |