Changed way to get charset from response

Obtaining charset through getattr instead of accessing it directly

Signed-off-by: Carlos Oliveira <carlospecter@gmail.com>
Signed-off-by: Alexandre Almeida <alexandreab@live.com>
As you guys told me _charset will always have a value so we don't have to test for charset.