HTTP date headers and download function.
Main module.