[#1692] Don't set Content-Length on a 304 response

##### Framework version: 1.2.x

##### Details:
Content-Length should not be set for a 304 response. Browsers might not render it correctly if content length is set to 0 on a 304 response.