Gargron / fileupload

PHP FileUpload library that supports chunked uploads
MIT License
459 stars 87 forks source link

why use HTTP_CONTENT_RANGE to judge if chunked #71

Open zl-leaf opened 6 years ago

zl-leaf commented 6 years ago
example
request header
Range: bytes=0-2000

response header
Content-Range: bytes 0-2000/4932

but the library use $this->server['HTTP_CONTENT_RANGE'] in FileUpload.php to judge if chunked, is it correct?