Support the shorten filename output of http directory.
Merge pull request #2419 from ulion/http_directory_support_shorten_filename

Support the shorten filename output of http directory.