(self, e)
Encodes content with the encoding e, where e is "gzip", "deflate"
            or "identity".
Encodes content with the encoding e, where e is "gzip", "deflate"
            or "identity".
Encodes content with the encoding e where e is gzip deflate or identity .
def encode(self, e):
        """
            Encodes content with the encoding e, where e is "gzip", "deflate"
            or "identity".
        """
        # FIXME: Error if there's an existing encoding header?
        self.content = encoding.encode(e, self.content)
        self.headers["content-encoding"] = [e]
def encode ( self , e ) : # FIXME: Error if there's an existing encoding header? self . content = encoding . encode ( e , self . content ) self . headers [ "content-encoding" ] = [ e ]