aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-03-12 20:53:32 -0700
committerScott Jackson <daneren2005@gmail.com>2013-03-12 20:53:32 -0700
commit62f3add1a698e060e70b70c91db0e970f506ae18 (patch)
treedd4f8e2f3b648344c31a99bf7c9f62c0826a5871 /subsonic-android/src
parent3cb3db540af116fcf512762d3af9ed160fcbf221 (diff)
downloaddsub-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')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/service/StreamProxy.java4
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";