On 2016-06-17 13:19, xinglp wrote:
> --post-file parameter only support text file not binary file.
> "Content-Length" is more compatible to the http server world.
Your patch cannot apply due to whitespace damage. Also, the library
supports delivering POST data in multiple calls to send_data - your
patch is breaking that completely.
If you want to support using content_length instead of chunked encoding,
please do so in an optional way that does not break the existing code.
Could you please also provide some information why you're replacing
chunked encoding with content-length? What servers do not accept this?
And why are you saying it "only support text file not binary file"?

- Felix


_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to