Comment 6 for bug 1706592

Revision history for this message
Sridhar Venkat (svenkat) wrote :

dump of request :
GET /v2.0/agents.json.json HTTP/1.0
Accept: application/json
Accept-Encoding: gzip, deflate
Connection: keep-alive
Content-Type: text/plain
Host: 127.0.0.1:9696
User-Agent: python-neutronclient
X-Auth-Token: gAAAAABZeHalBtTzcEv94enqwcUcD-jAmBfU_A8rBr3STNUdDYqJ6t3CX-vIBHWWFhiBx4z8elau_9ZKTXeUBC3GxTNUFRMump0AaM_D-1i33jpK0EqaFb3lM0MVlwFS-6usbg7nNhmvfw3rT7Xs0awUDihdKf5k0r7M0OHVmqCxNMQ5DMLcDiba6hEDOSExLLGydX8iOw0qxnpLOOCDQZhw1EbdmWPwJ_ONFql-dqhMufuLpLTNtaM
X-Domain-Id: None
X-Domain-Name: None
X-Identity-Status: Confirmed
X-Is-Admin-Project: False
X-Project-Domain-Id: 03bd7eef7bd943c29a273b82d7ef12c4
X-Project-Domain-Name: Service
X-Project-Id: 5f0805bffd4349c4a53a81a5516c5631
X-Project-Name: service
X-Role: admin
X-Roles: admin
X-Service-Catalog: <removed>
X-Tenant: service
X-Tenant-Id: 5f0805bffd4349c4a53a81a5516c5631
X-Tenant-Name: service
X-User: neutron
X-User-Domain-Id: 03bd7eef7bd943c29a273b82d7ef12c4
X-User-Domain-Name: Service
X-User-Id: 09190e437c2fd33046047c5458396ba91f2468cc22a1c33bbc12a0148d0885e4
X-User-Name: neutron
(<routes.util.URLGenerator object at 0x100437447d0>, {'action': u'index', 'controller': <wsgify at 1100652491600 wrapping <function resource at 0x10043ffb668>>, 'format': u'json.json'})
{}
json.json
{'json': 'application/json'}
> /usr/lib/python2.7/site-packages/neutron/api/v2/resource.py(96)resource()
-> args['id'] = '.'.join([args['id'], fmt])

(Pdb) p fmt
u'json.json'
(Pdb) /