aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/doc/src/httpc.xml
AgeCommit message (Collapse)Author
2018-12-11Add "since" attributes in xml for new functions and modulesSverker Eriksson
introduced after OTP_R13B03.
2018-06-18Update copyright yearHenrik Nord
2018-04-17Merge branch 'maint'Péter Dimitrov
* maint: inets: Fix broken httpc options handling Change-Id: I9e44f0e53237a390048cab3aaf52ea0e1a5358a2
2018-04-12inets: Fix broken httpc options handlingPéter Dimitrov
- Add support for setting socket options per request. - Add http_ipv6 test group. Change-Id: Ia2aca37c0b5fe64a41995c79ae3399434b17ab8a
2018-03-23inets: Remove httpc dead code re init errorLuca Favatella
... i.e. references to `connect_failed` and `send_failed`, unused since 5d32eaf750 .
2018-03-06Merge branch 'maint'Péter Dimitrov
* maint: inets: Prepare for release inets: Skip http_unix_socket test group on Windows inets: Add unix domain socket support to httpc Change-Id: I4c3a3d6e4fbbdf82e4e2e7d30b84510f9c286c68
2018-02-26inets: Add unix domain socket support to httpcPéter Dimitrov
Change-Id: I44fe2670e36884e09600d17dd71b1e86b9ee75fa
2017-11-15inets: Fix http content injection bug in httpcPéter Dimitrov
- uri_string module used for parsing URIs. - Removed url_encode option as only valid URIs shall be handled by the http client. - The client rejects URIs that are not compliant with RFC 3986. Change-Id: I0a5b9766f6463a9802e0b02b445a2c4c91f02236
2017-07-15Fix typo in httpc.xml: http -> httpcFabian Muscariello
2017-06-14Update copyright yearHans Nilsson
2017-05-15Fix minor typo and notation in httpc:request/[4,5]niku
2016-12-13inets: httpc - patch method missing in docIngela Anderton Andin
2016-10-04Replace ref() with reference() in inets filesKostis Sagonas
This supersedes PR #1185 (submitted by @KrzysiekJ) that changed all occurrences of ref() with reference() in inets files. However, there is little point in having these types only in comments. So, these types are now exposed as type declarations for the record fields they appear. While at it, uncommented more commented out type declarations and declared types for records defined in the affected modules and header files. Some type-unfriendly and obsolete code related to supporting code ungrades with a really old OTP release was also removed.
2016-09-01doc: Correct errors introduced by Editorial changesHans Bolinder
Fix some older errors as well.
2015-12-11[inets] Align documentation to DTDLars Thorsen
2015-09-08inets: httpc - Clarify/correct documentationIngela Anderton Andin
Remove legacy inet6fb4 option from documentation even if the code will still accept it.
2015-09-08inets: Align with alphabetical order and clean local anchor handlingIngela Anderton Andin
Functions in the same module can be referenced as #Function-Arity, no need to make special markers for them.
2015-09-01Inets Reference Manualtmanevik
Editorial changes
2015-06-18Change license text to APLv2Bruce Yinhe
2015-05-28Typo 'asynchroneous' fixKirilll Zaborsky
2014-10-02httpc: Fix a typo in the documentationSina Samavati
2014-07-03Fix typo in documentation /header_as_is/headers_as_is/Louis-Philippe Gauthier
2013-12-13Merge branch 'wmalik/httpc_spelling'Henrik Nord
* wmalik/httpc_spelling: fixed a spelling mistake in httpc doc OTP-11538
2013-12-10fixed a spelling mistake in httpc docWasif Malik
2013-10-14Merge remote-tracking branch 'upstream/maint'Ingela Anderton Andin
2013-09-13inets: httpc make httpc_cancel_request/[1,2] asynchronousIngela Anderton Andin
2013-07-30Merge branch 'maint'Fredrik Gustafsson
2013-07-24Fix some errors in the inets documentationJohannes Weißl
2013-04-19Convert XML files to UTF-8Hans Bolinder
2012-10-02inets httpc: Document that RFC 2817 is not supportedIngela Anderton Andin
2012-10-02inets httpc: TLS via proxyIngela Anderton Andin
Introduces new option htts_proxy so that it is possible to have different proxies for http and https. The new option defaults to the old proxy option. Implements HTTP-1.1 extension method CONNECT to establish SSL/TLS tunnel We choose not to implement "TLS upgrade" as defined by RFC 2817 as this method of upgrade is vulnerable to man in the middle attacks, can be easily broken by proxies and does not seem to be widely adopted.
2012-07-11Merge branch 'bmk/inets/httpc/error_during_session_update/OTP-10093' into ↵Micael Karlberg
bmk/inets/inets591_integration
2012-06-14Added missing comma and set proper versionMicael Karlberg
2012-06-09Elaborate on timeouts in the httpc documentationJesper Louis Andersen
All timeouts are in milliseconds. Reflect this in the documentation so it is explicit that it is so.
2012-05-22[inets/httpc] Updated docs, release notes and appupMicael Karlberg
Added documentation for new (httpc:which_sessions/0,1) and updated (httpc:info/0,1) functions. Also updated appup. OTP-10093
2012-03-13[inets/httpc] Add function to retreive current optionsMicael Karlberg
Add function to retreive current options, httpc:get_options/1,2. OTP-9979
2011-12-05Add proper release notes entry for OTP-9628.Micael Karlberg
2011-11-23Fixed acceptor exit warnings (detected by dialyzer).Micael Karlberg
Also fixed cookie_header/3 and updated documented accordingly. Also added documentation for undocumented URI parse option.
2011-09-05Removed the option *ossl* from the documentation.Micael Karlberg
OTP-9522
2011-06-15Clients started stand-alone not properly handled.Micael Karlberg
OTP-9365
2011-04-19Default ssl kind changed to essl (from ossl).Micael Karlberg
2011-03-17Merge branch 'dev' into bmk/inets/httpc/support_upload_body_streaming/OTP-9094Micael Karlberg
Conflicts: lib/inets/doc/src/notes.xml Fixed release notes after merge.
2011-03-09Remove link_check warnings re httpc.xml,sys.xml and unicode.xmlPatrik Nyblom
2011-03-07Adding missing "send loop" for raw sending.Micael Karlberg
Also fixed some of the documentation (types).
2011-03-04Merge branch 'fm/httpc-upload-body-streaming' into ↵Micael Karlberg
bmk/inets/httpc/support_upload_body_streaming/OTP-OTP-9094 Conflicts: lib/inets/src/http_client/httpc.erl lib/inets/test/httpc_SUITE.erl
2011-03-02Fix typo in httpc documentationTuncer Ayaz
2011-03-02inets/httpc: Polish documentationChristian von Roques
* 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>.
2010-12-16Grammar and typo fixes for the httpc module documentationFilipe David Manana
2010-11-29URL-encoding - add support in client and more usage in server. AlsoIngela Anderton Andin
added missing include directory.
2010-10-13httpc: add option to do automatic chunked transfer-encodingFilipe David Manana
This is specially useful when a client doesn't know in advance the length of the payload (so that it can't set the Content-Length header). Example: -module(httpc_post_stream_test). -compile(export_all). prepare_data() -> crypto:start(), {ok, Fd} = file:open("test_data.dat", [binary, write]), ok = file:write(Fd, lists:duplicate(crypto:rand_uniform(8182, 32768), "1")), ok = file:close(Fd). test() -> inets:start(), ok = prepare_data(), {ok, Fd1} = file:open("test_data.dat", [binary, read]), BodyFun = fun(Fd) -> case file:read(Fd, 512) of eof -> eof; {ok, Data} -> {ok, Data, Fd} end end, %% header 'Transfer-Encoding: chunked' is added by httpc {ok, {{_,200,_}, _, _}} = httpc:request(post, {"http://localhost:8888", [], "text/plain", {chunkify, BodyFun, Fd1}}, [], []), ok = file:close(Fd1).