opencultureconsulting / openrefine-client

The OpenRefine Python Client from Paul Makepeace provides a library for communicating with an OpenRefine server. This fork extends the command line interface (CLI) and is distributed as a convenient one-file-executable (Windows, Linux, Mac). It is also available via Docker Hub, PyPI and Binder.
GNU General Public License v3.0
83 stars 19 forks source link

moved csrf token check into urlopen_json #21

Closed mohammed78620 closed 2 years ago

mohammed78620 commented 2 years ago

this was changed as i would have to read the file object in urlopen when it is already loaded in urlopen_json

felixlohmeier commented 2 years ago

this reverts https://github.com/opencultureconsulting/openrefine-client/commit/0563b54fc62e1ef479483e0a944e3cad2b914697 (only linting differs) and introduces a check for invalid csrf token server response in a different function