Content-length defined in header response

Enable Content-Length to be defined in header response
Archive with content-length header
Merge pull request #7250 from ahmyi/patch-1

Content-length for Repository Archive