PEP 3333 requires that values in the environ that come from header be native str objects decoded from ISO-8859-1 bytes. This means that in Python 2 and 3 they are effectively different things, but oh well, these are the rules. One area where this causes a real issue is in the SimpleCookie.load() method which checks for the type of the string associated with HTTP_COOKIE. Fixes #39
If you wish to run the tests without those tests which speak to the internet (there are a few that validate that the intercept does not intercept), set the WSGI_INTERCEPT_SKIP_NETWORK environment variable to "True". Any other value or no value will mean that the network tests will run.