Part of aligning HttpDataSource behavior will require adding logic that's common across the DataSource implementations. This change establishes a util class to house it, and moves a bit of existing logic that's related and can be easily shared into it. There is one small behavior change in this CL, which is that our handling of Content-Range response headers can now parse the body length if the "document size" part of the Content-Range is unknown, for example "bytes 5-9/*". Previously the pattern we were matching to required the "size" part to be set, for example "bytes 5-9/100", despite the fact we don't need or use it. PiperOrigin-RevId: 362396976
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| av1 | Loading commit data... | |
| cast | Loading commit data... | |
| cronet | Loading commit data... | |
| ffmpeg | Loading commit data... | |
| flac | Loading commit data... | |
| gvr | Loading commit data... | |
| ima | Loading commit data... | |
| leanback | Loading commit data... | |
| media2 | Loading commit data... | |
| mediasession | Loading commit data... | |
| okhttp | Loading commit data... | |
| opus | Loading commit data... | |
| rtmp | Loading commit data... | |
| vp9 | Loading commit data... | |
| workmanager | Loading commit data... | |
| README.md | Loading commit data... |