|
@@ -5,7 +5,7 @@ use hyper::uri::RequestUri;
|
|
use hyper::header::ContentType;
|
|
use hyper::header::ContentType;
|
|
use hyper::header;
|
|
use hyper::header;
|
|
|
|
|
|
-const HELLO_WORLD: &'static [u8; 14] = b"Hello, World!\n";
|
|
|
|
|
|
+const HELLO_WORLD: &'static [u8; 13] = b"Hello, World!";
|
|
|
|
|
|
fn main() {
|
|
fn main() {
|
|
Server::http("0.0.0.0:8080").unwrap().handle(handler).unwrap();
|
|
Server::http("0.0.0.0:8080").unwrap().handle(handler).unwrap();
|