insomnia icon indicating copy to clipboard operation
insomnia copied to clipboard

fix: set default header

Open nHuebner opened this issue 2 years ago • 1 comments

Context

When trying to do git operations with at least on premise BitBucket servers, the request could result in a 404.

Possible Solution

Set deafult header for isomorphic-git httpClient. Deafult behaviour for cli git command adds "Accept: /" header, to mimic this behaviour an defaultGitAcceptHeader will be set and merged with optional provided config headers.

Closes #2220

nHuebner avatar Jun 14 '22 20:06 nHuebner

@nHuebner heads up, I rebased the branch on top of latest develop.

Going to give it another try today and test to see if I can still reproduce the other problems. If not I think you should be able to merge it 👍

filfreire avatar Jul 28 '22 10:07 filfreire