$ curl -s -X DELETE -H "X-Auth-Token:999888777666" http://localhost:8774/v1.1/openstack/images/3
$ curl -s -X DELETE -H "X-Auth-Token:999888777666" http://localhost:8774/v1.1/openstack/images/3
import httplib conn = httplib.HTTPConnection(' http://localhost:8774') conn.request('DELETE', '/v1.1/openstack/images/3') resp = conn.getresponse() content = resp.read()
librako
а вот это куда X-Auth-Token:999888777666 ?
... conn = httplib.HTTPConnection(' http://localhost:8774') conn.putheader('X-Auth-Token', '999888777666') # вот сюда conn.request('DELETE', '/v1.1/openstack/images/3') ...