Closed boramalper closed 4 years ago
I think to allow easier processing on client-side, /info endpoint shall return JSON-ified version of info dictionaries.
Accept header can be used to control the format (JSON or bencoded), or a wholly new endpoint can be conceived.
That's an excellent idea. I think I'd prefer to specifically match the JSON mime-type from the Accept header.
Accept
I think to allow easier processing on client-side, /info endpoint shall return JSON-ified version of info dictionaries.
Accept header can be used to control the format (JSON or bencoded), or a wholly new endpoint can be conceived.