Having issues with the http package in the core of go. It appears that the file contents is cached although the Content-Length in the response body is correct. To demonstrat
This can be a client issue, what browser are you using ? Maybe you could try different browsers, curl, wget etc...