Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Web server should determine MIME type from file extension #85

Open
btrask opened this issue Aug 23, 2015 · 0 comments
Open

Web server should determine MIME type from file extension #85

btrask opened this issue Aug 23, 2015 · 0 comments

Comments

@btrask
Copy link
Owner

btrask commented Aug 23, 2015

Our static file server (part of the blog interface) currently uses a series of strcasecmp calls to determine what the file extension is. It works but it's obviously not that great.

The ideal data structure is probably a hash table. This is one of those cases where C is painful.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant