put content-length headers on ledger resource responses