def get_timeout(self, method=None):
return self.timeout.get(method, self.timeout['<STR_LIT>'])<EOL>
Get timeout for given request method

:param method: Request method (eg. GET, POST, ..). If None, return
    default timeout.