-
Notifications
You must be signed in to change notification settings - Fork 64
Description
I'm struggling using the swat package on MacOS.
I'm trying to connect to CAS and I get a 403 error.
I turned on some debugging and got the following trace:
PUT https://gelenv-lts.rext03-0029.race.sas.com/cas-shared-default-http/cas/sessions
User-Agent: python-requests/2.28.2
Accept-Encoding: gzip, deflate
Accept: /
Connection: keep-alive
Content-Type: application/json
Content-Length: 0
Authorization: b'Basic c2J4eGFiOlNBU2xueDMz'
{ "session": "c2cf402c-6fd7-4145-8184-d2f547b1f507" }
POST https://gelenv-lts.rext03-0029.race.sas.com/cas-shared-default-http/cas/sessions/c2cf402c-6fd7-4145-8184-d2f547b1f507/actions/builtins.queryactionset
User-Agent: python-requests/2.28.2
Accept-Encoding: gzip, deflate
Accept: /
Connection: keep-alive
Content-Type: application/json
Content-Length: 73
Authorization: b'Basic c2J4eGFiOlNBU2xueDMz'
{"actionset": "builtins.help", "_messagelevel": "error", "_apptag": "UI"}
{
"error": "HTTP/1.1 403 Forbidden",
"code": "HTTP_403",
"details": null,
"disposition": null
}
I tried the url:
https://gelenv-lts.rext03-0029.race.sas.com/cas-shared-default-http/cas/sessions/c2cf402c-6fd7-4145-8184-d2f547b1f507/actions/builtins.queryactionset
in my browser and it failed.
I then tried to following url:
https://gelenv-lts.rext03-0029.race.sas.com/cas-shared-default-http/cas/sessions/c2cf402c-6fd7-4145-8184-d2f547b1f507/actions/builtins.queryActionSet
And got a correct answer.
I suspect there is an issue with the queryActionSet not using camelCase.
Am I correct?