Skip to content

Commit b24f8f0

Browse files
committed
updates coffescript mime type to include charset=UTF-8
1 parent 95fc2f8 commit b24f8f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/headers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ describe("headers", function(){
7474
it("should be correct with a valid CoffeeScript file", function(done){
7575
request("http://localhost:" + port + "/valid-coffee.js", function(e, r, b){
7676
r.statusCode.should.eql(200)
77-
r.headers.should.have.property("content-type", "application/javascript")
77+
r.headers.should.have.property("content-type", "application/javascript; charset=UTF-8")
7878
r.headers.should.have.property("content-length")
7979
done()
8080
})

0 commit comments

Comments
 (0)