aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/src/http_client/httpc.erl
diff options
context:
space:
mode:
authorChristian von Roques <[email protected]>2010-12-15 17:36:09 -0400
committerNiclas Axelsson <[email protected]>2011-03-02 19:38:21 +0100
commit748dbeb1524122229373c5964334a8d8f18a525d (patch)
tree1d83be083538721e4cdb36fbfe7ced689a763be3 /lib/inets/src/http_client/httpc.erl
parentf38a6085c5c65c9324b58e1e2fa8815093688f96 (diff)
downloadotp-748dbeb1524122229373c5964334a8d8f18a525d.tar.gz
otp-748dbeb1524122229373c5964334a8d8f18a525d.tar.bz2
otp-748dbeb1524122229373c5964334a8d8f18a525d.zip
inets/httpc: Polish documentation
* Assure store_cookies (and verify_cookies) is documented instead of the nonexistent store_cookie and verify_cookie. * Make sure the cookies option is not called cookie in comments. * Sprinkle <c>...</c> arround symbols and code snippets in text. * Grammar, wording, and punctuation fixes. * Formalize See gen_tcp:connect/3,4 using <seealso>.
Diffstat (limited to 'lib/inets/src/http_client/httpc.erl')
-rw-r--r--lib/inets/src/http_client/httpc.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/inets/src/http_client/httpc.erl b/lib/inets/src/http_client/httpc.erl
index ae754fab94..04fae13b20 100644
--- a/lib/inets/src/http_client/httpc.erl
+++ b/lib/inets/src/http_client/httpc.erl
@@ -252,7 +252,7 @@ set_option(Key, Value, Profile) ->
%% Description: Store the cookies from <SetCookieHeaders>
%% in the cookie database
%% for the profile <Profile>. This function shall be used when the option
-%% cookie is set to verify.
+%% cookies is set to verify.
%%-------------------------------------------------------------------------
store_cookies(SetCookieHeaders, Url) ->
store_cookies(SetCookieHeaders, Url, default_profile()).