We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
command: go test -buildmode pie -compiler gc -ldflags "-X github.com/google/martian/version=2.1.0 -extldflags '-Wl,-z,relro '" testing: github.com/google/martian/static --- FAIL: TestFileExistsInBothExplictlyMappedPathAndInferredPath (0.00s) static_file_modifier_test.go:115: res.Header.Get('Content-Type'): got , want text/plain; charset=utf-8 --- FAIL: TestStaticModifierExplicitPathMapping (0.01s) static_file_modifier_test.go:171: res.Header.Get('Content-Type'): got , want text/plain; charset=utf-8 --- FAIL: TestStaticModifierOnRequest (0.00s) static_file_modifier_test.go:222: res.Header.Get('Content-Type'): got , want text/plain; charset=utf-8 --- FAIL: TestRequestOverHTTPS (0.00s) static_file_modifier_test.go:275: res.Header.Get('Content-Type'): got , want text/plain; charset=utf-8 --- FAIL: TestModifierFromJSON (0.00s) static_file_modifier_test.go:359: res.Header.Get('Content-Type'): got , want text/plain; charset=utf-8 static_file_modifier_test.go:398: res.Header.Get('Content-Type'): got , want text/plain; charset=utf-8 --- FAIL: TestStaticModifierSingleRangeRequest (0.00s) static_file_modifier_test.go:473: res.Header.Get('Content-Type'): got , want text/plain; charset=utf-8 FAIL exit status 1 FAIL github.com/google/martian/static 0.020s
The text was updated successfully, but these errors were encountered:
I ran into this myself. It was caused by the mime-types package missing (on Debian at least).
Sorry, something went wrong.
Thanks @ssgelm for posting a solution. @nicolasStevenin, were you able to get it to work?
No branches or pull requests
Hi,
The text was updated successfully, but these errors were encountered: