Incorrect casing for builtins.queryActionSet

オープン
#156 コメント 8 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
api, backend

調査の方向性

このレポートには、失敗する CAS セッションリクエストと、アクション名の大文字と小文字だけが異なる動作する URL が示されています。まず、Python クライアントが builtins.queryActionSet のアクション URL をどのように構築するかを追跡してください。issue では、リポジトリのファイルもテストも指定されていません。クライアントが必要な camelCase エンドポイントを生成するかどうかを確認し、CAS に対して動作を検証できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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?

主要言語
Python
スター
159
フォーク
66
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

sassoftware/python-swat のほかの issue

sassoftware/python-swat の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。