#NEWLINE# def test_head_request( self ) : #NEWLINE# #INDENT# response = self . fetch ( '/head' , method = 'HEAD' ) #NEWLINE# self . assertEqual ( response . code , 200 ) #NEWLINE# self . assertEqual ( self . headers [ 'content-length' ] , '7' ) #NEWLINE# self . assertFalse ( response . body )