Skip to content

Some more Python 3 fixes

Mattias Ellert requested to merge ellert/arc:some-more-python-3-fixes into master

According to documentation name and value given to setHeader should be bytes.

def setHeader(self, name, value):
	"""                                                                     
        Set an HTTP response header.  Overrides any previously set values for   
        this header.                                                            
                                                                                
        @type name: C{bytes}                                                    
        @param name: The name of the header for which to set the value.         
                                                                                
        @type value: C{bytes}                                                   
        @param value: The value to set for the named header.                    
        """
Edited by Maiken

Merge request reports

Loading