ronggang / transmission-web-control

一个 Transmission 浏览器管理界面。Transmission Web Control is a custom web UI.
MIT License
4.59k stars 778 forks source link

控制台报错409 Conflict #608

Open RyougiShiki-214 opened 2 years ago

RyougiShiki-214 commented 2 years ago

409: Conflict Your request had an invalid session-id header.

To fix this, follow these steps:

When reading a response, get its X-Transmission-Session-Id header and remember it Add the updated header to your outgoing requests When you get this 409 error message, resend your request with the updated header This requirement has been added to help prevent CSRF attacks.

X-Transmission-Session-Id: ZePWdjxcmyEdroNxBsvREBb2n5FCCxTvTjERv16PdrqlTpax

image

maicss commented 1 year ago

这是Transmission RPC协议定义的 https://github.com/transmission/transmission/blob/main/docs/rpc-spec.md#231-csrf-protection