Fixes #6097: Sends correct Content-Length with profile icon