Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos committed Jul 30, 2018
1 parent 91748dd commit d32054e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ cinatra目前支持了multipart和octet-stream格式的上传。
http_server server(std::thread::hardware_concurrency());
server.listen("0.0.0.0", "8080");

std::atomic_int n = 0;
//http upload(multipart)
server.set_http_handler<GET, POST>("/upload_multipart", [](request& req, response& res) {
assert(req.get_content_type() == content_type::multipart);
Expand Down Expand Up @@ -175,7 +174,6 @@ cinatra目前支持了multipart和octet-stream格式的上传。
http_server server(std::thread::hardware_concurrency());
server.listen("0.0.0.0", "8080");

std::atomic_int n = 0;
//http upload(octet-stream)
server.set_http_handler<GET, POST>("/upload_octet_stream", [](request& req, response& res) {
assert(req.get_content_type() == content_type::octet_stream);
Expand Down

0 comments on commit d32054e

Please sign in to comment.