Open facundobatista opened 4 years ago
Let's support an optional "raw=True" query parameter in the following endpoints:
/api/1/linkodes/<linkode_id>/<revno> /api/1/linkodes/<linkode_id>
If raw is present as a query parameter, and set to True, the response will be just the bytes of the linkode, utf-8 encoded. This encoding and the linkode type should be explicited in the Content-Type header of the response.
raw
True
utf-8
type
Content-Type
I'll take it, as we talked in the telegram group, to work on it along with someone else
Let's support an optional "raw=True" query parameter in the following endpoints:
If
raw
is present as a query parameter, and set toTrue
, the response will be just the bytes of the linkode,utf-8
encoded. This encoding and the linkodetype
should be explicited in theContent-Type
header of the response.