Increase response peek bytes to 1000.
This will increase the probability that version is parsed. Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
This commit is contained in:
parent
bf6026087a
commit
44114e90ab
|
@ -9,7 +9,7 @@ import okhttp3.Response
|
||||||
import org.moire.ultrasonic.api.subsonic.SubsonicAPIVersions
|
import org.moire.ultrasonic.api.subsonic.SubsonicAPIVersions
|
||||||
import java.io.IOException
|
import java.io.IOException
|
||||||
|
|
||||||
private const val DEFAULT_PEEK_BYTE_COUNT = 100L
|
private const val DEFAULT_PEEK_BYTE_COUNT = 1000L
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Special [Interceptor] that adds client supported version to request and tries to update it
|
* Special [Interceptor] that adds client supported version to request and tries to update it
|
||||||
|
|
Loading…
Reference in New Issue