Skip to content

Commit

Permalink
added back the range value header to make sure that extra data isn't …
Browse files Browse the repository at this point in the history
…downloaded

Signed-off-by: Jonathan 'Wolf' Rentzsch <jwr.git@redshed.net>
  • Loading branch information
Simone Manganelli authored and rentzsch committed Jul 1, 2009
1 parent 4e9ab97 commit 6bcf4fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugin/CTFURLConnection.m
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ - (NSHTTPURLResponse *)getURLResponseHeaders:(NSURL *)URL

// since the Range header is not always honored, we also stop getting data
// from the NSURLConnection by stopping it once we get the NSURLResponse
//[request setValue:@"bytes=0-1" forHTTPHeaderField:@"Range"];
[request setValue:@"bytes=0-1" forHTTPHeaderField:@"Range"];

[NSThread detachNewThreadSelector:@selector(startRequest:) toTarget:self withObject:request];

Expand Down

0 comments on commit 6bcf4fd

Please sign in to comment.