mirror of
https://github.com/curl/curl.git
synced 2026-08-25 05:43:32 +03:00
tool: New option --data-raw to HTTP POST data, '@' allowed.
Add new option --data-raw which is almost the same as --data but does not have a special interpretation of the @ character. Prior to this change there was no (easy) way to pass the @ character as the first character in POST data without it being interpreted as a special character. Bug: https://github.com/bagder/curl/issues/198 Reported-by: Jens Rantil
This commit is contained in:
parent
f1e0a0aae7
commit
6a7261359b
3 changed files with 15 additions and 7 deletions
|
|
@ -65,6 +65,7 @@ static const char *const helptext[] = {
|
|||
" --crlf Convert LF to CRLF in upload",
|
||||
" --crlfile FILE Get a CRL list in PEM format from the given file",
|
||||
" -d, --data DATA HTTP POST data (H)",
|
||||
" --data-raw DATA HTTP POST data, '@' allowed (H)",
|
||||
" --data-ascii DATA HTTP POST ASCII data (H)",
|
||||
" --data-binary DATA HTTP POST binary data (H)",
|
||||
" --data-urlencode DATA HTTP POST data url encoded (H)",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue