Skip to content

GitClientBase.get_item_text always returns the file metadata #29

@vbossica

Description

@vbossica

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:

  1. the VSSClient._send hard codes application/json as Accept header
  2. the generated GitClientBase.get_item_text must somehow pass text/plain as Accept header

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions