emacs-jupyter/test
Nathaniel Nicandro fa3f7c8b31 Handle encoding when making REST API requests
* jupyter-rest-api.el: Ensure strings are encoded before making HTTP request.
(jupyter-api-http-request): Encode JSON as utf-8.
(jupyter-api-xsrf-header-from-cookies): Ensure header isn't multibyte.
(jupyter-api-authenticate): For the token method, ensure token isn't multibyte.
(jupyter-api-copy-file): Encode string before encoding to base64 for binary content.
(jupyter-api-read-file-content): Decode content as utf-8 when necessary.

* jupyter-tramp.el
(jupyter-tramp-write-region): Ensure only `utf-8` or `binary` coding systems
are used since Jupyter only supports those.

* test/jupyter-tramp-test.el: Update for above changes.
2019-07-24 16:59:04 -05:00
..
jupyter-server-test.el Refactor notebook server related tests 2019-07-24 16:59:04 -05:00
jupyter-test.el Separate tests that use a notebook server from the main tests 2019-07-24 16:59:04 -05:00
jupyter-tramp-test.el Handle encoding when making REST API requests 2019-07-24 16:59:04 -05:00
test-helper.el Refactor notebook server related tests 2019-07-24 16:59:04 -05:00