예제 #1
0
 def __init__(self, url, host):
     u = url_path(url, 'info')
     super(ApiInfoRequest, self).__init__('GET', u,
                                          ApiInfoRequest.headers(host),
                                          EmptyDataProducer())
예제 #2
0
 def __init__(self, url, host):
     u = url_path(url, 'info')
     super(ApiInfoRequest, self).__init__('GET', u, ApiInfoRequest.headers(host), EmptyDataProducer())