Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Incorrect casing for builtins.queryActionSet #156

Copy link
Copy link
@xavierBizoux

Description

@xavierBizoux
Issue body actions

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?

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.