diff --git a/src/upload.rs b/src/upload.rs index ee24201..1f8ff6d 100644 --- a/src/upload.rs +++ b/src/upload.rs @@ -3,7 +3,7 @@ use std::io::Read; use ureq::{Agent, AgentBuilder}; const DATA_HEADER: &'static [u8] = b"--FuckLiterallyAllCops\r\nContent-Disposition: form-data; name=\"file\"; filename=\"pigeon.bin\"\r\nContent-Type: application/octet-stream\r\n\r\n"; -const DATA_FOOTER: &'static [u8] = b"\x00\r\n--FuckLiterallyAllCops--\r\n"; +const DATA_FOOTER: &'static [u8] = b"\r\n--FuckLiterallyAllCops--\r\n"; pub fn get_agent() -> Agent { AgentBuilder::new()