]> granicus.if.org Git - curl/commit
data-binary.d: clarify default content-type is x-www-form-urlencoded
authorJay Satiro <raysatiro@yahoo.com>
Wed, 3 Oct 2018 01:55:57 +0000 (21:55 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Wed, 3 Oct 2018 06:26:28 +0000 (02:26 -0400)
commitf33312fe3330363633f379b1d291745184ce01ce
tree67c745cbb24495edffd2ebcc00b8073d8f9de644
parent9ba67b5b7991d785df16dd1774879b7b8bbe3e78
data-binary.d: clarify default content-type is x-www-form-urlencoded

- Advise user that --data-binary sends a default content type of
  x-www-form-urlencoded, and to have the data treated as arbitrary
  binary data by the server set the content-type header to octet-stream.

Ref: https://github.com/curl/curl/pull/2852#issuecomment-426465094

Closes https://github.com/curl/curl/pull/3085
docs/cmdline-opts/data-binary.d