Skip to content

Commit

Permalink
lfs: add missing Accept header to Batch API request
Browse files Browse the repository at this point in the history
  • Loading branch information
sisp authored and pmrowla committed Jan 23, 2024
1 parent 9016d86 commit feecd19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scmrepo/git/lfs/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ async def _batch_request(
body["ref"] = [{"name": ref}]
session = await self._set_session()
headers = dict(self.headers)
headers["Accept"] = self.JSON_CONTENT_TYPE
headers["Content-Type"] = self.JSON_CONTENT_TYPE
async with session.post(
url,
Expand Down

0 comments on commit feecd19

Please sign in to comment.