Permalink
Browse files

write HTTP headers again for Range GET requests. Fixes #57

  • Loading branch information...
1 parent e96b9f2 commit 7f8cc6bf6485ef688ab06b688d0369fd0553034f @mikedeboer committed Oct 3, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/DAV/handler.js
View
@@ -482,6 +482,12 @@ exports.NS_AJAXORG = "http://ajax.org/2005/aml";
}
return;
}
+
+ // write header on first incoming buffer
+ if (writeStreamingHeader) {
+ writeStreamingHeader();
+ writeStreamingHeader = null;
+ }
if (!data)
return self.httpResponse.end();

0 comments on commit 7f8cc6b

Please sign in to comment.