Need clarification on XML request and response for Domain V3 Keystone API
While trying to create domain using XML interface as below
1)
curl -i http://
HTTP/1.1 201 Created
Vary: X-Auth-Token
Content-Type: application/xml
Content-Length: 382
Date: Wed, 03 Jul 2013 09:22:20 GMT
<?xml version="1.0" encoding="UTF-8"?>
<domain xmlns="http://
I could observe that the value for parameter enabled is accepted as string("true") and returning the response also as string value.
2)
curl -i http://
Vary: X-Auth-Token
Content-Type: application/json
Content-Length: 247
Date: Wed, 03 Jul 2013 09:24:35 GMT
{"domain": {"links": {"self": "http://
But in case of json response as above it is returning value of enabled in boolean type as expected.
Can anyone clarify on this scenario? Actually this is effecting my tempest test case where in I have to verify the response of JSON/ XML with the same assertion code
test case ref : https:/
And also according to the below doc, it is returning string in case of XML response
http://
Please let me know what is the exact expected response.
Thanks in advance,
Harika
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Haneef Ali
- Solved:
- Last query:
- Last reply: