-
-
Notifications
You must be signed in to change notification settings - Fork 317
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
requested features #131
Comments
here: var results=path.match(/\.([a-z]+).*$/i);
if(results!==null && results[1]) {
var ext=results[1];
}
else {
return fallback || this.default_type;
}
return this.types[ext]; |
Regexp should be tested though. |
Re: default type, see #139. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Removing default octet mime type would be better... Just null would be nice.
And passing req.url with query parameters not working, only parsing url and passing parsed.pathname works. Would be nice to pass raw req.url and it gives proper mime.
The text was updated successfully, but these errors were encountered: