Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
antonino.calderone committed Jul 12, 2019
1 parent f1ffbc7 commit 8ff4f54
Show file tree
Hide file tree
Showing 12 changed files with 385 additions and 857 deletions.
8 changes: 4 additions & 4 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ C++11 has to offer.

TinyHttpServer project depends on the following source files:

gen_utils.cc Collection of general purpose utilities
gen_utils.h Declaration of collection of general purpose utilities
utils.cc Collection of general purpose utilities
utils.h Declaration of collection of general purpose utilities
http_config.h HTTP Server configuration file
http_mime.cc Definition of MIME table
http_server.cc Implementation of HTTP classes
http_server.h Declaration of HTTP classes
os_dep.cc Platform dependent code
os_dep.h Platform dependent code
osSocketSpecific.cc Platform dependent code
osSocketSpecific.h Platform dependent code
socket_utils.cc Implementation of socket classes containing
some useful stuff cross-platform for manipulating socket
socket_utils.h Declaration of socket classes containing some useful stuff
Expand Down
112 changes: 0 additions & 112 deletions cppsrc/gen_utils.cc

This file was deleted.

2 changes: 1 addition & 1 deletion cppsrc/http_mime.cc
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

/* -------------------------------------------------------------------------- */

std::map<std::string, std::string> http_response_t::_mime_tbl = {
std::map<std::string, std::string> HttpResponse::_mimeTbl = {
{ ".3dm", "x-world/x-3dmf" }, { ".3dmf", "x-world/x-3dmf" },
{ ".a", "application/octet-stream" },
{ ".aab", "application/x-authorware-bin" },
Expand Down
Loading

0 comments on commit 8ff4f54

Please sign in to comment.