set custom content-length header