summaryrefslogtreecommitdiff
path: root/docs/examples/postit2.c
Commit message (Collapse)AuthorAgeFilesLines
* form/mime: field names are not allowed to contain zero-valued bytes.Patrick Monnerat2017-09-221-3/+3
| | | | | Also suppress length argument of curl_mime_name() (names are always zero-terminated).
* mime: use CURL_ZERO_TERMINATED in examplesViktor Szakats2017-09-041-5/+5
| | | | and some minor whitespace fixes
* mime: tests and examples.Patrick Monnerat2017-09-021-30/+26
| | | | | | | | | | Additional mime-specific tests. Existing tests updated to reflect small differences (Expect: 100-continue, data size change due to empty lines, etc). Option -F headers= keyword added to tests. test1135 disabled until the entry point order change is resolved. New example smtp-mime. Examples postit2 and multi-post converted from form API to mime API.
* checksrc: stricter no-space-before-paren enforcementDaniel Stenberg2016-12-131-1/+1
| | | | In order to make the code style more uniform everywhere
* examples: adhere to curl code styleDaniel Stenberg2016-02-111-1/+1
| | | | | | | | | | All plain C examples now (mostly) adhere to the curl code style. While they are only examples, they had diverted so much and contained all sorts of different mixed code styles by now. Having them use a unified style helps users and readability. Also, as they get copy-and-pasted widely by users, making sure they're clean and nice is a good idea. 573 checksrc warnings were addressed.
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* examples: added descriptionsDaniel Stenberg2016-01-041-1/+5
|
* docs: Spelling fixesVille Skyttä2015-06-081-1/+1
|
* Added error checking for samples.Guenter Knauf2012-07-041-0/+6
|
* examples: cleanup curl includesDaniel Stenberg2011-06-281-2/+0
| | | | Only <curl/curl.h> is needed typically and curl/types.h has been removed
* sources: update source headersDaniel Stenberg2011-03-101-2/+15
| | | | | | All C and H files now (should) feature the proper project curl source code header, which includes basic info, a copyright statement and some basic disclaimers.
* examples: use example.com in example URLsDaniel Stenberg2010-10-051-1/+1
|
* remove the CVSish $Id$ linesDaniel Stenberg2010-03-241-1/+0
|
* Fixed some compile warnings and errors and improved portability in theDan Fandrich2007-07-121-1/+1
| | | | | | examples. Removed ftp3rdparty.c since libcurl doesn't support 3rd party FTP transfers any longer.
* stripped trailing whitespaceDaniel Stenberg2004-08-231-5/+5
|
* use the correct structDaniel Stenberg2004-03-281-2/+2
|
* cut off old crappy win32 comments and use the proper global_init insteadDaniel Stenberg2003-11-191-7/+2
| | | | also removed very old "require libcurl older than blablabla"
* curl_formadd() using example, the 7.9 style of building rfc1867 form postsDaniel Stenberg2001-08-231-0/+92