modify http method
Merge pull request #1156 from amazingjxq/http-method

Fix the http backend to properly write what's been downloaded.