sparklemotion/mechanize — pull request #302 by ijiti (2013-04-22 12:04:05+00:00)
Title: An empty string as the response content encoding should be treated the same as none/nil.

So the other day, I came across a site that kept resulting in a unsupported content encoding error. Turns out it was returning "" as the content encoding in the response. Any reason empty string shouldn't be treated the same as nil or none?