To retrieve the content of a file, it is mandatory to send the 'text/plain' Accept header, otherwise the file metadata is always returned.
There are two issues:
- the
VSSClient._send hard codes application/json as Accept header
- the generated
GitClientBase.get_item_text must somehow pass text/plain as Accept header
To retrieve the content of a file, it is mandatory to send the 'text/plain' Accept header, otherwise the file metadata is always returned.
There are two issues:
VSSClient._sendhard codesapplication/jsonas Accept headerGitClientBase.get_item_textmust somehow passtext/plainas Accept header