Jonathan Vanasco
unread,May 11, 2012, 1:07:42 PM5/11/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Paste Users
I can't seem to figure this out--
My app uses PasteDeployPrefix to set request.scheme to 'https'
I'm trying to run some integrated tests via webtest's TestApp
I can't seem to figure out how to fake an https connection.
I tried setting { "HTTP_X_FORWARDED_SCHEME" : 'https',
"HTTP_X_FORWARDED_PROTO" : 'https', } in the get as headers and env
vars, neither worked.
anyone have a clue ?
my app requires over 50% of it's pages to be HTTPS, so it's hard to
test them right now.