senchalabs/connect — pull request #984 by Fishrock123 (2013-12-29 19:00:59+00:00)
Title: Better mime stripping.

Because why not.

Essentially same as is used in [compressible](https://github.com/expressjs/compressible/blob/master/index.js#L13).

Except that this one uses the bitwise ~ -1 checking trick.
(Which isn't really any faster than < 0 but looks cooler.)