diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-03-12 20:53:32 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-03-12 20:53:32 -0700 |
commit | 62f3add1a698e060e70b70c91db0e970f506ae18 (patch) | |
tree | dd4f8e2f3b648344c31a99bf7c9f62c0826a5871 /subsonic-android/src/github | |
parent | 3cb3db540af116fcf512762d3af9ed160fcbf221 (diff) | |
download | dsub-62f3add1a698e060e70b70c91db0e970f506ae18.tar.gz dsub-62f3add1a698e060e70b70c91db0e970f506ae18.tar.bz2 dsub-62f3add1a698e060e70b70c91db0e970f506ae18.zip |
Don't specify a content-length since no way to estimate it well
Diffstat (limited to 'subsonic-android/src/github')
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/service/StreamProxy.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/service/StreamProxy.java b/subsonic-android/src/github/daneren2005/dsub/service/StreamProxy.java index 1cb087ac..0972ecf2 100644 --- a/subsonic-android/src/github/daneren2005/dsub/service/StreamProxy.java +++ b/subsonic-android/src/github/daneren2005/dsub/service/StreamProxy.java @@ -169,10 +169,6 @@ public class StreamProxy implements Runnable { String headers = "HTTP/1.0 200 OK\r\n";
headers += "Content-Type: " + "application/octet-stream" + "\r\n";
- if (fileSize > 0) {
- headers += "Content-Length: " + fileSize + "\r\n";
- }
-
headers += "Connection: close\r\n";
headers += "\r\n";
|