set Content-Length