PritiKumr / rust-httpd

41 stars 7 forks source link

How to test? #2

Closed spritle closed 7 years ago

spritle commented 7 years ago

I cloned the app. Rancargo run and then i got the below output.

Balajis-MacBook-Pro:rust-httpd balajidl$ cargo run
   Compiling rust-httpd v0.1.0 (/rust-httpd)
warning: unused import: `Shutdown`, #[warn(unused_imports)] on by default
 --> src/main.rs:1:16
  |
1 | use std::net::{Shutdown, TcpListener, TcpStream};
  |                ^^^^^^^^

warning: unused import: `Read`, #[warn(unused_imports)] on by default
 --> src/main.rs:2:15
  |
2 | use std::io::{Read, Write};
  |               ^^^^

warning: unused variable: `e`, #[warn(unused_variables)] on by default
  --> src/main.rs:20:17
   |
20 |             Err(e) => { 
   |                 ^

    Finished debug [unoptimized + debuginfo] target(s) in 2.41 secs
     Running `target/debug/rust-httpd`

What should i do next?

steverob commented 7 years ago

@spritle hit localhost:8888 from browser :) Nothing much to see for now. Updated README.