livebook/test
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
..
livebook Skip XML.decode!(body) if body is empty (#956) 2022-02-01 12:32:51 +01:00
livebook_web Test and typing improvements (#949) 2022-01-29 16:39:41 +01:00
support Gracefully handle errors in the inspect protocol (#934) 2022-01-25 17:54:02 +01:00
livebook_test.exs Add public function for converting .livemd to .exs (#573) 2021-10-05 00:26:41 +02:00
test_helper.exs Introduce LIVEBOOK_HOME and LIVEBOOK_DATA_PATH (#963) 2022-01-31 11:51:57 +01:00