`text/plain` content type support in `DocService`
trustin opened this issue · comments
Trustin Lee commented
DocService
currently supports only JSON content in its request body.- It is also not possible to override the
content-type
header. - When
content-type
is not JSON, we should not reformat the request body, so that the trailing newline characters are preserved.
Originally reported from the official Discord server: https://discord.com/channels/1087271586832318494/1087272728177942629/1260900035399385099