mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2025-03-09 10:35:51 +01:00
put the comment where it should be
This commit is contained in:
parent
733b017936
commit
c00ca23a8b
@ -41,6 +41,7 @@ object ExtensionGithubService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ref: https://stackoverflow.com/questions/51901333/okhttp-3-how-to-decompress-gzip-deflate-response-manually-using-java-android
|
||||||
private class UnzippingInterceptor : Interceptor {
|
private class UnzippingInterceptor : Interceptor {
|
||||||
@Throws(IOException::class)
|
@Throws(IOException::class)
|
||||||
override fun intercept(chain: Chain): Response {
|
override fun intercept(chain: Chain): Response {
|
||||||
@ -48,7 +49,6 @@ private class UnzippingInterceptor : Interceptor {
|
|||||||
return unzip(response)
|
return unzip(response)
|
||||||
}
|
}
|
||||||
|
|
||||||
// ref: https://stackoverflow.com/questions/51901333/okhttp-3-how-to-decompress-gzip-deflate-response-manually-using-java-android
|
|
||||||
@Throws(IOException::class)
|
@Throws(IOException::class)
|
||||||
private fun unzip(response: Response): Response {
|
private fun unzip(response: Response): Response {
|
||||||
if (response.body == null) {
|
if (response.body == null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user