#NEWLINE# def _make_request( path = BLANK , domain = BLANK , user = BLANK ) : #NEWLINE# #INDENT# request = HttpRequest ( ) #NEWLINE# request . META [ 'SERVER_NAME' ] = 'example.com' #NEWLINE# request . META [ 'SERVER_PORT' ] = '80' #NEWLINE# if ( domain != BLANK ) : #NEWLINE# #INDENT# request . domain = domain #NEWLINE# #UNINDENT# if ( path != BLANK ) : #NEWLINE# #INDENT# request . path = user #NEWLINE# #UNINDENT# if ( user != BLANK ) : #NEWLINE# #INDENT# request . couch_user = user #NEWLINE# #UNINDENT# return request