shane42/w3lib — comment on commit fb78fdefb3420498f083fbbd6a8ab75747c36d19
File: w3lib/encoding.py line 156
By shane42:

I expect the result of checking the header to be passed - i.e. headers.get('content-type') or equivalent. This function makes little sense otherwise, so putting it as a keyword argument is less clear in my opinion.