Ignore character encoding exceptions.
Ignore invalid content type warnings.
Added @carimura's suggestions.
Updated tutorial to reflect changes.