(self)
return self._headers.get('connection', "").lower() == "upgrade"
Do we get upgrade header in the request. Useful for
        websockets
Do we get upgrade header in the request. Useful for
        websockets
Do we get upgrade header in the request . Useful for websockets
def is_upgrade(self):
        """ Do we get upgrade header in the request. Useful for
        websockets """
        return self._headers.get('connection', "").lower() == "upgrade"
def is_upgrade ( self ) : return self . _headers . get ( 'connection' , "" ) . lower ( ) == "upgrade"