chen3feng / toft

C++ Base Library for serverside development
BSD 3-Clause "New" or "Revised" License
341 stars 160 forks source link

fix for mime test #122

Closed simonkuang closed 9 years ago

simonkuang commented 9 years ago

MimeType::FromFileExtension(const String& file_name) the file_name string should begin with a dot, like '.txt' instead of 'txt'.