Closed PascalEgn closed 4 months ago
@PascalEgn at the end we don't need to add them in fuzzy matcher/matcher?
@PascalEgn at the end we don't need to add them in fuzzy matcher/matcher?
Like this we just add them basically everywhere, the get_headers_for_hep_root_table_request()
function is also used by the exact-match
and fuzzy-match
call.
https://github.com/inspirehep/inspire-next/blob/master/inspirehep/modules/workflows/tasks/matching.py#L78 https://github.com/inspirehep/inspire-next/blob/master/inspirehep/modules/workflows/tasks/matching.py#L125
The python 3.11 upgrade of inspirehep will require the requests to be passed with the content type json header.