Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement MIME sniffing #5005
Implement MIME sniffing #5005
Conversation
|
Fixes #3144. |
hoppipolla-critic-bot
commented
Feb 22, 2015
|
Critic review: https://critic.hoppipolla.co.uk/r/4054 This is an external review system which you may optionally use for the code review of your pull request. In order to help critic track your changes, please do not make in-place history rewrites (e.g. via |
|
@metajack Would you like to review this? I reviewed the actual sniffing implementation in the first commit, so it's just the network integration in the subsequent commits that needs reviewing. |
|
@jdm Yes, I'll review. |
|
Reviewed in Critic. |
|
@bors-servo: r+ |
|
|
This rebases and integrates #4209, removing the sniffer task (turns out it wasn't a great idea), and adds a `--sniff-mime-types` command line flag to enable sniffing for file:// and http:// resources. Tested against a random picture file on my harddrive. The actual MIME sniffing implementation can be extracted into a separate library separately.
|
|
|
@bors-servo: r+ |
|
|
This rebases and integrates #4209, removing the sniffer task (turns out it wasn't a great idea), and adds a `--sniff-mime-types` command line flag to enable sniffing for file:// and http:// resources. Tested against a random picture file on my harddrive. The actual MIME sniffing implementation can be extracted into a separate library separately.
|
|
|
|
@bors-servo: r- |
|
@bors-servo: r+ |
|
|
This rebases and integrates #4209, removing the sniffer task (turns out it wasn't a great idea), and adds a `--sniff-mime-types` command line flag to enable sniffing for file:// and http:// resources. Tested against a random picture file on my harddrive. The actual MIME sniffing implementation can be extracted into a separate library separately.
jdm commentedFeb 21, 2015
This rebases and integrates #4209, removing the sniffer task (turns out it wasn't a great idea), and adds a
--sniff-mime-typescommand line flag to enable sniffing for file:// and http:// resources. Tested against a random picture file on my harddrive. The actual MIME sniffing implementation can be extracted into a separate library separately.