using .bytesize instead of .length for Content-Length. this causes problems apparently