mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 22:54:34 +00:00
Update libcurl
This commit is contained in:
parent
20eb0a911a
commit
01a719ee58
3439 changed files with 529259 additions and 41492 deletions
24
Engine/lib/curl/docs/cmdline-opts/data-binary.d
Normal file
24
Engine/lib/curl/docs/cmdline-opts/data-binary.d
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: data-binary
|
||||
Arg: <data>
|
||||
Help: HTTP POST binary data
|
||||
Protocols: HTTP
|
||||
Category: http post upload
|
||||
Example: --data-binary @filename $URL
|
||||
Added: 7.2
|
||||
See-also: data-ascii
|
||||
---
|
||||
This posts data exactly as specified with no extra processing whatsoever.
|
||||
|
||||
If you start the data with the letter @, the rest should be a filename. Data
|
||||
is posted in a similar manner as --data does, except that newlines and
|
||||
carriage returns are preserved and conversions are never done.
|
||||
|
||||
Like --data the default content-type sent to the server is
|
||||
application/x-www-form-urlencoded. If you want the data to be treated as
|
||||
arbitrary binary data by the server then set the content-type to octet-stream:
|
||||
-H "Content-Type: application/octet-stream".
|
||||
|
||||
If this option is used several times, the ones following the first will append
|
||||
data as described in --data.
|
||||
Loading…
Add table
Add a link
Reference in a new issue