Update doc

This commit is contained in:
Tatsuhiro Tsujikawa 2014-09-26 01:25:00 +09:00
parent a11fbf6e2f
commit 937bb9f768
1 changed files with 2 additions and 0 deletions

View File

@ -145,6 +145,8 @@ Server push is also supported.
if(req->path() == "/my.css") { if(req->path() == "/my.css") {
res->write_head(200); res->write_head(200);
res->end(file_reader("my.css")); res->end(file_reader("my.css"));
return;
} }
res->write_head(404); res->write_head(404);