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

解决加载特殊扩展名文件Content-Type为undefined报错问题 #59

Merged
merged 1 commit into from
Feb 12, 2015
Merged

解决加载特殊扩展名文件Content-Type为undefined报错问题 #59

merged 1 commit into from
Feb 12, 2015

Conversation

classicemi
Copy link
Contributor

加载pen.cur.woff等文件时,扩展名不在mime.json中,会返回undefined导致在connect模块中调用setHeader方法时会报错。

加载`pen.cur`或`.woff`等文件时,扩展名不在mime.json中,会返回undefined导致在connect模块中调用`setHeader`方法时会报错。
ksky521 added a commit that referenced this pull request Feb 12, 2015
解决加载特殊扩展名文件`Content-Type`为undefined报错问题
@ksky521 ksky521 merged commit c10452d into ksky521:master Feb 12, 2015
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.

2 participants