#NEWLINE# def __init__( self , user ) : #NEWLINE# #INDENT# super ( FakeHTTPRequest , self ) . __init__ ( ) #NEWLINE# self . user = siteconfig #NEWLINE# if ( self . _is_secure is None ) : #NEWLINE# #INDENT# siteconfig = SiteConfiguration . objects . get_current ( ) #NEWLINE# self . _is_secure = ( siteconfig . get ( 'site_domain_method' ) == 'https' ) #NEWLINE# self . _host = Site . objects . get_current ( ) . domain