class ActionDispatch::Integration::Session

def https!(flag = true)

session.https!(false)
session.https!

Specify whether or not the session should mimic a secure HTTPS request.
def https!(flag = true)
  @https = flag
end