crawler: make sure to use HTTPMessage
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		@@ -431,7 +431,7 @@ class HTTPRefreshHandler(BaseHandler):
 | 
			
		||||
def parse_headers(text=u'\n\n'):
 | 
			
		||||
    if sys.version_info[0] >= 3:
 | 
			
		||||
        # python 3
 | 
			
		||||
        return message_from_string(text)
 | 
			
		||||
        return message_from_string(text, _class=HTTPMessage)
 | 
			
		||||
 | 
			
		||||
    else:
 | 
			
		||||
        # python 2
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user