fix(conan): lower case accept header for github (#15644)

Closes #15641
This commit is contained in:
Rhys Arkins
2022-05-19 06:25:34 +02:00
committed by GitHub
parent 3b941ec269
commit da9b94de84
+1 -1
View File
@@ -38,7 +38,7 @@ export class ConanDatasource extends Datasource {
}
const url = `https://api.github.com/repos/conan-io/conan-center-index/contents/recipes/${depName}/config.yml`;
const res = await this.githubHttp.get(url, {
headers: { Accept: 'application/vnd.github.v3.raw' },
headers: { accept: 'application/vnd.github.v3.raw' },
});
const doc = load(res.body, {
json: true,