fixed content-length header after encoding html/js/css