Use mime package. #92

Merged
merged 4 commits into from Apr 2, 2013

Conversation

Projects
None yet
2 participants
Contributor

dubiousdavid commented Apr 1, 2013

I cleaned up the tests, switched the code to use the mime package, and commented out the decodeURI tests that fails. Everything is working great with Node 0.10.x now.

Server header test doesn't pass for some reason, but it should. It works properly for me when testing with curl/browser. That is, server returned is "node-static/0.6.7".

Contributor

dubiousdavid commented Apr 1, 2013

Working on fixing server name test failure. I think this has to do with a bug when doing a HEAD request.

Contributor

dubiousdavid commented Apr 1, 2013

All tests are passing!

@phstc phstc added a commit that referenced this pull request Apr 2, 2013

@phstc phstc Merge pull request #92 from dubiousdavid/master
Use mime package.
d284915

@phstc phstc merged commit d284915 into cloudhead:master Apr 2, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment