minihttpse is a http response parser for rust,is simple and easy
Examples
use Response;
let s = "HTTP/1.1 200 OK\r\n\
Content-Length: 18\r\n\
Server: GWS/2.0\r\n\
Date: Sat, 11 Jan 2003 02:44:04 GMT\r\n\
Content-Type: text/html\r\n\
Cache-control: private\r\n\
Set-Cookie: PREF=ID=73d4aef52e57bae9:TM=1042253044:LM=1042253044:S=SMCc_HRPCQiqyX9j; expires=Sun, 17-Jan-2038 19:14:07 GMT; path=/; domain=.google.com\r\n\
Connection: keep-alive\r\n\
\r\n\
<html>hello</html>";
let res = new.unwrap;
assert_eq!;
assert_eq!;
assert_eq!;
println!;