* feat(client): add http2 option
* chore(deps): update httpx
* refactor(gtoken): gtoken should always accept client argument in order to follow client's options
* chore(ci): change dist to ubuntu 18.04 bionic
* chore:test available service_urls and multi-lang result in different service_urls (#216)
* feat(models): add Base model
* test: reuse test client
* feat(client): return Translated and Detected with the original response
* test(client): ConnectError has been replaced with httpx.ConnectTimeout
* fix: possible merge conflict
* chore(docs): add a description for checking http2
* chore(deps): add sphinx to dev deps
* test(client): httpx will raise ConnectError in some conditions
omg i missed
Co-authored-by: Terry Zhuo <terryzhuo25@gmail.com>
* Fix for invalid token array of the text
* Remove unused compacted-json decoder
because Google apparently now does not send like that before. This
commit refers the issue #37.
* Remove a test case for multiline text
This is a temporary fix: will be reverted after mocking tests.
* Add pipenv supports
* Update README
* Change language names to match Google Translate
This commit also fixes an issue introduced by commit 04a0e6df (issue #26),
where language names with underscores in them would not work, because
everything after an underscore is ignored.
* Add test for language names with spaces in them