Fix chunked-request condition
Merge pull request #2 from LocalData/chunk-condition

Fix chunked-request condition