mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Fix #187
This commit is contained in:
parent
4efc0abde9
commit
fc8c08d240
1 changed files with 1 additions and 1 deletions
|
|
@ -376,7 +376,7 @@ public class HttpDataSource implements DataSource {
|
||||||
connection.setReadTimeout(readTimeoutMillis);
|
connection.setReadTimeout(readTimeoutMillis);
|
||||||
connection.setDoOutput(false);
|
connection.setDoOutput(false);
|
||||||
synchronized (requestProperties) {
|
synchronized (requestProperties) {
|
||||||
for (HashMap.Entry<String, String> property : requestProperties.entrySet()) {
|
for (Map.Entry<String, String> property : requestProperties.entrySet()) {
|
||||||
connection.setRequestProperty(property.getKey(), property.getValue());
|
connection.setRequestProperty(property.getKey(), property.getValue());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue