mirror of
https://github.com/androidx/media.git
synced 2025-05-04 14:10:40 +08:00

Include Dataspec.httpRequestHeaders in CronetDataSource, and OkHttpDataSource. Updated documentation of HttpDataSource.open() to suggest that it should set request headers (in decreasing priority) from (1) the passed DataSpec, (2) parameters set with setRequestProperty() and (3) default parameters set in the HttpDataSource.Factory. No mechanism has been put in place to enforce this. PiperOrigin-RevId: 266895574