robospice
robospice copied to clipboard
BigBinaryRequest with customized headers/interceptors.
BigBinaryRequest
doesn't allow customizing request headers (passing auth headers).
Tried overriding loadDataFromNetwork
request to create HttpURLConnection
instance and setting headers but seems like loadDataFromNetwork
is a final method at BinaryRequest
and hence cannot be overridden.
Is there any way to use BigBinaryRequest
with headers. I would like to get benefit of cache file too (Otherwise I could make use of normal request and write received byte array).
Thanks