vinipsmaker / tufao

An asynchronous web framework for C++ built on top of Qt
http://vinipsmaker.github.io/tufao/
GNU Lesser General Public License v2.1
589 stars 179 forks source link

Adds function HttpFileServer::canHandleRequest that returns true iff HttpFileServer::handleRequest will return true. #62

Closed saemy closed 9 years ago

saemy commented 9 years ago

Sometimes one wants to do some preprocessing on a HttpFileServer request. However, only if the file is about to be delivered. HttpFileServer::canHandleRequest returns this piece of information.

vinipsmaker commented 9 years ago

Merged.

Thank you for the patch.