mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Added missing parameter in call to http_error_default();
reported by Neal Norwitz.
This commit is contained in:
		
							parent
							
								
									2f8f4d3678
								
							
						
					
					
						commit
						c680ae8002
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -584,7 +584,7 @@ def http_error_401(self, url, fp, errcode, errmsg, headers, data=None): | |||
|         http://www.ics.uci.edu/pub/ietf/http/draft-ietf-http-v10-spec-00.txt""" | ||||
|         if not headers.has_key('www-authenticate'): | ||||
|             URLopener.http_error_default(self, url, fp, | ||||
|                                          errmsg, headers) | ||||
|                                          errcode, errmsg, headers) | ||||
|         stuff = headers['www-authenticate'] | ||||
|         import re | ||||
|         match = re.match('[ \t]*([^ \t]+)[ \t]+realm="([^"]*)"', stuff) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Fred Drake
						Fred Drake