What steps will reproduce the problem?
1. import wsgi_intercept.mechanize_intercept
2. wsgi_intercept.add_wsgi_intercept('some_host', 443, create_fn)
3. b = wsgi_intercept.mechanize_intercept.Browser()
4. response = b.open('https://some_host:443')
What is the expected output? What do you see instead?
The WSGI application receives a value of "http" in environ['wsgi.url_scheme']
rather than "https".
What version of the product are you using? On what operating system?
wsgi_intercept SVN version 55 on GNU/Linux
Please provide any additional information below.
Function make_environ() is currently the only place the scheme is set.
WSGI_HTTPSConnection should probably set the scheme to "https".
Original issue reported on code.google.com by Jonathan...@gmail.com on 6 Jul 2011 at 12:12
Original issue reported on code.google.com by
Jonathan...@gmail.com
on 6 Jul 2011 at 12:12