Skip to content
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

servedir 0.1.1 #2

Merged
18 commits merged into from Feb 3, 2011
Merged

servedir 0.1.1 #2

18 commits merged into from Feb 3, 2011

Conversation

ghost
Copy link

@ghost ghost commented Jan 15, 2011

Hi Remy,

I've made quite a few changes and improvements to servedir, and bumped the version number to 0.1.1.

  • All synchronous methods have been replaced with their asynchronous equivalents.
  • A canonical list of common MIME types has been added.
  • Inline literate-style comments have been added.
  • servedir has been renamed to servedir.js; the latter wasn't executable. I saw that you removed this earlier, though, so I can revert this if you'd like.
  • Paths to files in directory listings are now URL-encoded to prevent the generation faulty markup.
  • Other general performance tweaks and enhancements.

Please let me know if you like the changes, and if there's anything else that you would like for me to add, fix, or revert. I've found servedir to be a capable replacement for my simple Ruby WEBRick script, so I'm more than happy to help out.

@mathiasbynens
Copy link
Contributor

+1

No reason not to pull this in.

@ghost
Copy link
Author

ghost commented Feb 3, 2011

Awesome, thanks so much for pulling this in!

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant