Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixes #29. make sure all types we test for are in mime's lookup table

  • Loading branch information...
commit 81d6136450887a7e753486efaeb98f4f37bb0c71 1 parent b6e88eb
@dgrijalva dgrijalva authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  static_file/file_filter_test.go
View
2  static_file/file_filter_test.go
@@ -23,6 +23,8 @@ func init() {
// setup mime
mime.AddExtensionType(".foo", "foo/bar")
mime.AddExtensionType(".json", "application/json")
+ mime.AddExtensionType(".txt", "text/plain")
+ mime.AddExtensionType(".png", "image/png")
go func() {
Please sign in to comment.
Something went wrong with that request. Please try again.