Commit Graph

5 Commits

Author SHA1 Message Date
Suhun Han ee02d4b6fd
feat(http2): add http2 support (#213)
* 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>
2020-09-05 13:00:21 +10:00
Bastien Vallet 778b00758e
chore: Remove python 2.7 support and various cleanup (#179)
Co-authored-by: Bastien Vallet <b.vallet@criteo.com>
2020-06-08 19:09:24 +09:00
Jakub Molinski 2c85a4a976 feat: add an extra_data field to Translation containing the whole gtranslate response (#59) 2018-05-06 21:14:06 +09:00
SuHun Han d1c64a11d6 Update documentation with a new sphinx theme 'solar' 2017-03-15 22:10:37 +09:00
SuHun Han 9a70d82281 Refactor all the things 2017-03-10 23:43:06 +09:00