transgui icon indicating copy to clipboard operation
transgui copied to clipboard

Initial http requests have wrong contenttype

Open jpmikkers opened this issue 2 years ago • 0 comments

OS: windows 11 Transmission deamon: custom, based on transmission RPC spec Transmission remote GUI: v5.18.0

As I'm working on a alternative transmission implementation, I'm using transgui to test my own implementation. I noticed that Transgui's initial 'session-get' RPC requests don't have the correct content-type set in the http request. Transgui sends them as 'text/html', but as per the transmission spec this should be 'application/json'

Subsequent requests DO get the correct contenttype, so I suspect this is just an issue for the initial handshake to retrieve the session id.

jpmikkers avatar Mar 05 '22 11:03 jpmikkers