()
return threadData.lastHTTPError[1] if threadData.lastHTTPError else None
Returns last HTTP error code
Returns last HTTP error code
Returns last HTTP error code
def getLastRequestHTTPError():
    """
    Returns last HTTP error code
    """

    threadData = getCurrentThreadData()
    return threadData.lastHTTPError[1] if threadData.lastHTTPError else None
def getLastRequestHTTPError ( ) : threadData = getCurrentThreadData ( ) return threadData . lastHTTPError [ 1 ] if threadData . lastHTTPError else None