Merge pull request #7 from TracyWebTech/tests

Tests
File to test response object
Version bump
Adding coverage steps into travis
Added branch to coveralls badge
Added login_url attr to ProxyView
Intercepted proxy login and redirects to django login
Removing URL handler no longer used
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>
Decoding response using charset especified
Merge pull request #11 from TracyWebTech/charset

Charset
Tests for unicode_content inside response

Tested unicode_content value whether charset is set or not.

Signed-off-by: Alexandre Barbosa <alexandreab@live.com>
Signed-off-by: Carlos Oliveira <carlospecter@gmail.com>
Helper function to mock responses
PEP8 fixes
Fixed doc reference
Improving HttpProxyResponse tests

Signed-off-by: Alexandre Barbosa <alexandreab@live.com>
Signed-off-by: Carlos Oliveira <carlospecter@gmail.com>
Tests for unicode_content inside response

Tested unicode_content value whether charset is set or not.

Signed-off-by: Alexandre Barbosa <alexandreab@live.com>
Signed-off-by: Carlos Oliveira <carlospecter@gmail.com>
Tests for unicode_content inside response

Tested unicode_content value whether charset is set or not.

Signed-off-by: Alexandre Barbosa <alexandreab@live.com>
Signed-off-by: Carlos Oliveira <carlospecter@gmail.com>
Test for location header

Using BytesIO instead of StringIO to mock content due to the unicode
need of the latter
Tests for charset in Content-Type