Ejemplo n.º 1
0
 def node_from_method(self, method):
     """Returns a ``desc_http_method`` Node from a ``method`` string."""
     if method is None:
         method = 'GET'
     return desc_http_method(method, method.upper())
Ejemplo n.º 2
0
 def node_from_method(self, method):
     """Returns a ``desc_http_method`` Node from a ``method`` string."""
     if method is None:
         method = 'GET'
     return desc_http_method(method, method.upper())
Ejemplo n.º 3
0
 def handle_method(self, method, signode):
     if method is None:
         method = 'GET'
     method = method.upper()
     signode += desc_http_method(method, method)