New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net/http: TestServeContent failing on linux-amd64-wsl #45534
Comments
Change https://golang.org/cl/309574 mentions this issue: |
Strange. I can't replicate it on my own machine, but it's good to see that there is a fix for it. |
This also affects Fedora 33 and Ubuntu 20.04, although likely not Ubuntu 18.04. The critical element is what your /usr/share/mime/globs2 (or /usr/local/share/mime/globs2) contains for .html. On a system with the problem, it will have
It appears whether this happens depends on what version of the /usr/share/mime/packages/freedesktop.org.xml file a system has. Older versions lumped .html and a few other extensions as HTML and text/html; later versions change this to XHTML and application/xhtml+xml, which adds the second globs2 entry for .html. |
As of https://golang.org/cl/305230,
TestServeContent
has started failing on thelinux-amd64-wsl
builder:CC @Jacalz @ianlancetaylor
The text was updated successfully, but these errors were encountered: