mudando a doGetDirectory na HTTP.cpp