A little back-story here.
I noticed that TransmissionRemote was failing to connect to a Transmission server proxied behind a lighttpd instance.
I investigated the problem and discovered that it was receiving a 400 Bad Request response to each request, because the Content-Type header was being set twice (to json and to application/json).
By reading the HTTP RFC it seems that it SHOULD be specified only once, so it seems reasonable to leave the application/json type.
A little back-story here. I noticed that TransmissionRemote was failing to connect to a Transmission server proxied behind a
lighttpd
instance. I investigated the problem and discovered that it was receiving a 400 Bad Request response to each request, because theContent-Type
header was being set twice (tojson
and toapplication/json
).By reading the HTTP RFC it seems that it SHOULD be specified only once, so it seems reasonable to leave the
application/json
type.