Jocelyn Fiat
27ee20f99b
Added convenient get and custom functions on HTTP_CLIENT directly.
2017-07-11 23:29:42 +02:00
Jocelyn Fiat
c7ef652322
Made the parameters not hidden implementation classes.
2017-06-21 08:59:07 +02:00
Jocelyn Fiat
98c20ee7c1
Fixed specific ecf files for http_client library.
2017-06-20 17:37:24 +02:00
Jocelyn Fiat
1ec3b8e7a4
Added support for multiple file in form data.
...
Made clear what is the meaning of upload_filename, upload_data and form_data.
2017-06-14 16:19:43 +02:00
Jocelyn Fiat
69b5ce637e
Improved query and form data encoding (based on a very early version of the general URI percent-encoding rules).
...
- now correct encoding of space by '%20' in path segment, and '+' in query parameters.
Unify and fixed query parameters handling for libcurl and net implementation.
Fixed file uploading (various issue in libcurl, and net implementation).
Fixed form multipart encoding by using correctly the boundary.
Updated autotest cases.
Code cleaning.
2017-05-17 12:16:35 +02:00
Jocelyn Fiat
a928f27b1a
Updated or added timestamp to obsolete and fixme messages.
...
Fixed ecf file exclusion for .svn and .git .
Cosmetic changed.
2017-05-12 14:31:35 +02:00
6f200bbf22
Allow forcing multipart/form-data or application/x-www-form-urlencoded to choose how the form data should be sent.
2017-03-08 22:01:04 +01:00
7f50409d08
Follow redirection only for redirection http status 3** .
2017-01-26 22:18:14 +01:00
681151e9b9
Fixed http_client EiffelNet implementation when port is not the default one.
...
- previously the client was not sending the complete `host:port` but only `host` as `host` http header.
2017-01-26 21:56:21 +01:00
a6245351ef
Updated http_client README.
2017-01-16 21:36:03 +01:00
ca8f95a594
Made library ecf compilable in scoop concurrency mode by default.
...
So ecf files are compilable with 16.05 and 16.11 .
2016-12-01 14:56:56 +01:00
5a9ccce558
Made library ecf compilable in scoop concurrency mode by default.
...
Except nino related projects that depends on EiffelThread.
2016-11-01 14:30:19 +01:00
Jocelyn Fiat
3a120f3311
Updated http_client library to benefit from http_network library.
2016-10-15 21:42:51 +02:00
d4ec640ac8
Renamed many classes and feature to use "secure" term instead of "ssl". (note, the .ecf are still using the "ssl" terminologie).
...
Provided easy way to set secure settings for Standalone.
For wsf launcher boolean option accept "true" or "yes" for True boolean, anything else is False.
2016-10-14 11:52:48 +02:00
981942b2d6
Extracted network socket classes from httpd folder, and created a new library/network/http_network library.
...
Renamed HTTPD_STREAM_SOCKET as HTTP_STREAM_SOCKET.
Made http_client (net) library use the new http_network library.
2016-10-12 23:27:55 +02:00
d28f794828
Implemented chunked Transfer-Encoding in net_http_client.
...
Implemented support for buffer_size and chunk_size for net_http_client.
2016-10-12 16:49:08 +02:00
e9afc9ad17
Updated package.iron files.
2016-02-02 09:57:03 +01:00
1a4db1d7c6
Eiffel code and ECFs update to support new agent notations.
...
Removed contrib/library/.../json library.
2016-01-18 16:41:10 +01:00
dde6a0b7de
Added specific configuration file, so that it is easier to use either libcurl or net implementation.
2015-10-19 08:46:31 +02:00
b64a281d75
Fixed timeout issue due to too many "ready_for_reading".
...
Fixed Connection behavior.
Fixed Content-Type settings.
Removed condition on POST or PUT, since code also applied to any request methods.
Added verbose output implementation.
2015-10-19 08:46:30 +02:00
b69b8aaaf9
Added first support for persistent connection in NET http client implementation.
...
Various improvement related to eventual errors.
2015-10-19 08:46:29 +02:00
65b28ed877
Updated README.md with configuration topics related to libcurl or net disabling.
...
Fixed ssl test by precising insecure ssl.
2015-10-19 08:46:27 +02:00
6c7637716b
Updated a few comments
...
Removed useless NULL_HTTP_CLIENT.
Extracted mime code from NET_HTTP_CLIENT_REQUEST.response into specific routine.
2015-10-19 08:46:26 +02:00
ff9a238f5c
Added https support with Net implementation.
...
Added notion of default HTTP_CLIENT, to be able to build portable code among http client implementation.
2015-10-19 08:46:25 +02:00
eec3cbdba1
Added null http client for upcoming changes.
...
Refactored NET request implementation.
- fixed potential issue with header conflict.
- simplified, and extract parts of the code into routine.
- Implemented read of chunked Transfer-Encoding
- Fixed potential issue with socket handling.
First steps to be able to exclude net or libcurl implementation when using http_client lib.
Removed from NET implementation the hack related to PUT and upload data (it was used to workaround an issue with libcurl).
2015-10-19 08:46:23 +02:00
29c4931dc0
Added support for chunked transfer-encoding response.
...
Implemented correctly the redirection support for NET_HTTP_CLIENT...
Added the possibility to use HTTP/1.0 .
Splitted the manual tests that were using during development.
First step to redesign and clean the new code.
2015-10-19 08:46:22 +02:00
Florian Jacky
9cd0f0b117
Fixed configuration files
2015-10-19 08:46:21 +02:00
Florian Jacky
aa0eb4fc43
Fixed configuration files
2015-10-19 08:46:20 +02:00
Florian Jacky
dbdc594b59
config files
2015-10-19 08:46:18 +02:00
Florian Jacky
4176a8c68b
correct password for authentication test
2015-10-19 08:46:17 +02:00
Florian Jacky
0557d1ee2d
added remaining features
2015-10-19 08:46:16 +02:00
Florian Jacky
eed8af9a0a
now supports sending requests, receiving headers, receiving message text, redirection, agent header, cookies, basic http authorization, sending data using post using url-encoding, sending file as post as data, sending put data
2015-10-19 08:46:15 +02:00
Florian Jacky
1b881c4f60
implemented http authorization, support for redirection and user-agent
2015-10-19 08:46:14 +02:00
Florian Jacky
770488dbd3
implemented http authorization, support for redirection and user-agent
2015-10-19 08:46:12 +02:00
3f69081d32
Added postcondition to ensure the result of {HTTP_CLIENT_REQUEST}.response is attached.
...
(useless with void-safety compilation, but keep it for non void-safe execution).
2015-10-19 08:46:11 +02:00
7033db7dc4
Removed useless redefination of is_equal.
2015-10-19 08:46:10 +02:00
a1a16b4a22
Fixing http_client.ecf file with correct locations.
2015-10-19 08:46:09 +02:00
98e92ee0fe
Basic initial Eiffel NET implementation.
2015-10-19 08:46:07 +02:00
29b55f36cf
Added skeleton for Eiffel Net implementation of HTTP_CLIENT solution.
...
This is work in progress.
2015-10-19 08:46:06 +02:00
31fcd61401
Make sure to be able to compile in complete void-safe for 14.05 and still compile with 13.11
2014-05-14 10:14:51 +02:00
fd66d79ecb
Updated ecf files toward complete void-safety
...
Added iron package files.
Added libfcgi files to compile .lib and .dll on Windows
2014-04-22 21:47:29 +02:00
ea1c8a23cd
http_client: changed some default settings connect_timeout' and timeout' to 0 (never timeout)
...
Updated comments
2013-11-19 22:07:29 +01:00
f2da98c387
Fixed wrong assertion related to upload_data and upload_filename in HTTP_CLIENT_REQUEST_CONTEXT .
...
Fixed issue #124
Enable all assertion for the related autotest cases.
2013-11-12 21:37:39 +01:00
74e96d7816
Added PATCH support in http_client, and provided custom_with_upload_data and custom_with_upload_file.
2013-09-13 14:50:07 +02:00
527e877b30
forget about older version of Eiffel cURL
2013-09-13 14:49:09 +02:00
dc25723a35
Improved Unicode support.
2013-06-28 11:32:12 +02:00
8040dd5826
Ensured that EWF compiles with 7.2
...
(note about ecf version
1-10-0 void_safety="all" <--> 1-11-0 void_safety="transitional"
1-10-0 void_safety="all" <--- 1-11-1 void_safety="all"
)
2013-06-28 11:06:35 +02:00
fbbd1f1eee
Fixed various void-safety issue with recent compilers.
...
Note that EWF does now require EiffelStudio 7.2, and is compiling with 7.3
2013-06-07 15:40:50 +02:00
f41e83c30c
removed unused local variable
2013-05-31 12:28:58 +02:00
eab8df7e10
Added WSF_REQUEST.read_input_data_into_file (FILE)
2013-05-28 14:42:11 +02:00