set Content-Length header for GET requests