Description of problem: Cookies are being set regardless of using "Prefer: persistent-auth" when sending a request. Version-Release number of selected component (if applicable): SF16.1 - rhevm-3.2.0-10.25.beta3 How reproducible: 100% Steps to Reproduce: curl -X GET -H "Accept: application/xml" -u USER:PASS https://RHEVM:443/api -k --header "Prefer: ''" -c cookie.txt OR curl -X GET -H "Accept: application/xml" -u USER:PASS https://RHEVM:443/api -k -c cookie.txt Actual results: A cookie is set (same as using --header "Prefer: persistent-auth") Expected results: A cookie should not be set Additional info: Reproducible using RESTclient as well
Verified on IS2. >curl -X GET -H "Accept: application/xml" -u USER:PASS https://RHEVM:443/api -k --header "Prefer: ''" -c cookie.txt >ls cookie.txt ls: cannot access cookie.txt: No such file or directory >curl -X GET -H "Accept: application/xml" -u USER:PASS https://RHEVM:443/api -k -c cookie.txt >ls cookie.txt ls: cannot access cookie.txt: No such file or directory >curl -X GET -H "Accept: application/xml" -u USER:PASS https://RHEVM:443/api -k --header "Prefer: persistent-auth" -c cookie.txt >ls cookie.txt cookie.txt
Closing - RHEV 3.3 Released