fuel
fuel copied to clipboard
The easiest HTTP networking library for Kotlin/Android
## Description This commit enhances the incremental task "test". Notable, this task uses the files included in the directory `src/test/assets/`. Some tests depend on them (i.e., there are assertions that...
# Bug Report ## Description Not pass `StrictMode.VmPolicy.Builder.detectUntaggedSockets()` ## To Reproduce ``` Kotlin StrictMode.VmPolicy.Builder().detectUntaggedSockets() ... url.httpDownload() .fileDestination { _, _ -> savedLldJsonFile } .awaitByteArrayResult() .fold(success, failure) ``` ## Expected behavior...
# Make use of x-form-urlenoded parameters more explicit ## Description If have to send requests to an API that I do not control, where some parameters are sent inside the...
# Bug Report ## Description Download crash. ## To Reproduce This crash will occur when network quality is **bad**. The connecting timeout is very long. ``` kotlin fun downloadApk( url:...
I want to store certificates in my application to support HTTPS, to configure certificates on each HTTPS request. What should I do? I have searched for relevant problems and have...
Using fuel-android 2.2.1 with kotlin to download files. My code is as follows ``` request = Fuel.download(uri).fileDestination { response, url -> File(filesDir,fileName) }.progress { readBytes, totalBytes -> //handle progerss }.interrupt...
Hi all. I have api client on Fuel. Sometimes, if I have a bad network connection I observe what my request going by TLSv1. it happens when I use my...
# Bug Report ## Description If a server returns a `204 No Content` including a `Content-Encoding gzip` header, Fuel will throw an `EOFException`, because it tries to read a gzip...
# Bug Report ## Description ``` curl -i -H "Accept:application/json" https://somedomain.mycompany.com?a=b&c=d ``` The problem is that the URL is not enclosed in double quotes, so on a *nix system, it...
I used the following code to set the timeout, but it still always have an automatic timeout at 60s. Could you tell me why? Fuel.get(path) .timeout(150 * 1000) .timeoutRead(150 *...