問題タブ [sttp]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
scala - Sttp URI のデコードを回避
署名済みの s3 URL からファイルをダウンロードしようとしています。
Uriに変換すると
をデコードし%3A
ます。activity-2021-02-01_00%3A34%3A43.zip
-> activity-2021-02-01_00:34:43.zip
:
デコードされた Uri でファイルを取得しようとすると、次のエラー メッセージが表示されます。
The request signature we calculated does not match the signature you provided. Check your key and signing method.
%3A
curl は機能するが:
機能しないため、uri のデコードが問題を引き起こしていると思います。
パスのデコードを回避する方法はありますか? 私はそれについて何も見つけることができませんでした。
次の sttp バージョンを使用しています。