Added http header related features. It means we can change http header by setting a list ourself.

Wrapped more cURL constants.

Added `release_item' in {CURL_FORM} which is useful to clean the {CURL_FORM} generated by {CURL_EXTERNALS}.formadd_string_string.

git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@71685 8089f293-4706-0410-a29e-feb5c42a2edf
This commit is contained in:
larryl
2007-12-31 09:48:53 +00:00
parent 5980a724cc
commit 987c18198e
5 changed files with 63 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ feature -- Command
-- Redefine
local
l_c_string: C_STRING
l_string: STRING
l_string: CURL_STRING
l_identified: IDENTIFIED
do
Result := a_size * a_nmemb
@@ -85,9 +85,8 @@ feature {NONE} -- Implementation
local
l_c_string: C_STRING
do
print ("%N" + a_text)
create l_c_string.share_from_pointer_and_count (a_char_pointer, a_size)
print ("%N" + l_c_string.string)
print ("%N" + a_text + "%N" + l_c_string.string)
end
indexing