livebook/test/livebook/file_system
en30 731d95e4f0
Skip XML.decode!(body) if body is empty (#956)
* Skip XML.decode!(body) if body is empty

Google Cloud Storage has almost S3 compatible XML API,
but some responses have `content-type: text/html; charset=UTF-8`
and empty body. This change prevents XML decode error and
enables work fine with Google Cloud Storage.

* Handle Google Cloud Storage XML API response

* Rename S3.encode to S3.decode

* Improve a test case description

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>

* Make S3.decode/1 let any content type pass

* mix format

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
2022-02-01 12:32:51 +01:00
..
file_test.exs Introduce file system abstraction and an S3 implementation (#492) 2021-08-13 21:17:43 +02:00
local_test.exs Introduce file system abstraction and an S3 implementation (#492) 2021-08-13 21:17:43 +02:00
s3_test.exs Skip XML.decode!(body) if body is empty (#956) 2022-02-01 12:32:51 +01:00