fix more generic request

This commit is contained in:
Cayo Puigdefabregas 2024-06-04 17:54:06 +02:00
parent 2f13c00dcd
commit 58d016f1cb
1 changed files with 2 additions and 1 deletions

View File

@ -80,7 +80,8 @@ def requests_document_loader(secure=False, **kwargs):
headers = {
'Accept': 'application/ld+json, application/json'
}
response = requests.get(url, headers=headers, **kwargs)
# response = requests.get(url, headers=headers, **kwargs)
response = requests.get(url)
content_type = response.headers.get('content-type')
if not content_type: