From bf29240050efa6ec5c8b9631ab7e2135868c51a7 Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Sat, 16 Nov 2013 20:22:44 +0000 Subject: [PATCH] HTTP lib: updated documentation git-svn-id: svn://kolibrios.org@4242 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/libraries/http/http_en.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/programs/develop/libraries/http/http_en.txt b/programs/develop/libraries/http/http_en.txt index 0a35fd16a8..c924261ed8 100644 --- a/programs/develop/libraries/http/http_en.txt +++ b/programs/develop/libraries/http/http_en.txt @@ -2,18 +2,21 @@ get(*url, *add_header); *url = pointer to ASCIIZ URL *add_header = pointer to ASCIIZ additional header parameters, or null for none. + Every additional parameter must end with CR LF bytes, including the last line. Initiates a HTTP connection, using 'GET' method. - returns 0 on error, identifier otherwise. head(*url, *add_header); *url = pointer to ASCIIZ URL *add_header = pointer to ASCIIZ additional header parameters, or null for none. + Every additional parameter must end with CR LF bytes, including the last line. Initiate a HTTP connection, using 'HEAD' method. - returns 0 on error, identifier otherwise post(*url, *add_header, *content-type, content-length); *url = pointer to ASCIIZ URL *add_header = pointer to ASCIIZ additional header parameters, or null for none. + Every additional parameter must end with CR LF bytes, including the last line. *content-type = pointer to ASCIIZ string containing content type. content-length = length of the content (in bytes). Initiate a HTTP connection, using 'POST' method.