Jocelyn Fiat
c51a0a4788
Merge branch 'v1' into es17.05
...
# Conflicts:
# library/network/http_client/tests/test.ecf
2017-06-20 09:49:51 +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
49c46f8d8b
Merge branch 'master' into es17.01
2017-05-17 13:54:01 +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
cd382bca64
Merge branch 'master' into es17.01
2017-05-15 13:20:24 +02:00
Jocelyn Fiat
485a3812d9
Integrated recent changes on SOCKET.socket_buffer splitted as read_socket_buffer and put_socket_buffer.
2017-05-15 12:20:52 +02:00
Jocelyn Fiat
7028892374
Removed unwanted committed files.
2017-05-12 14:55:02 +02:00
Jocelyn Fiat
88dec34a1e
Made "common" targets as abstract.
2017-05-12 14:39:48 +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
Jocelyn Fiat
fb9af26d32
Updated or added timestamp to obsolete and fixme messages.
...
Fixed ecf file exclusion for .svn and .git .
Cosmetic changed.
2017-05-12 14:11:22 +02:00
Jocelyn Fiat
94ba19920e
Merge branch 'v1' into es17.01
...
# Conflicts:
# library/text/parser/uri_template/uri_template-safe.ecf
# library/text/parser/uri_template/uri_template.ecf
2017-04-14 12:04:33 +02:00
Jocelyn Fiat
3b8261ff08
Updated code regarding to string 32 vs string 8.
2017-04-14 11:45:38 +02:00
3590f8546f
Merge branch 'master' into es17.01
2017-03-08 22:01:46 +01: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
739c33b317
Merge branch 'master' into es17.01
2017-03-07 14:37:09 +01:00
9c207f4c9b
Added put_content_type_utf_8_text_html to HTTP_HEADER .
...
Improved the directory index access denied message.
2017-03-07 14:36:16 +01:00
d4c79f1893
Fixed xml info of ecf files.
2017-03-07 14:31:36 +01:00
a44ca1a76c
Converted all ecf files to ecf version 1-16-0 .
2017-02-14 14:47:07 +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
cad33e124d
Fixed a few compilation issue with 16.11 .
2016-12-06 12:15:36 +01:00
f56aa22c29
Fixed compilation of proxy and simple examples.
...
Made the websocket client library scoop capable.
2016-12-05 15:56:46 +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
c7b1d4bb4c
Use the theoretical version number of EiffelStudio when we inserted new features to EiffelNet.
2016-10-31 17:12:55 +01:00
ac908e4efd
Fixed expiration, and cache-control: max-age implementation.
...
Also use `FILE.date` instead of `FILE.change_date` (`change_date` is the date of the last status change, quite often same as creation date, while `date` is the last modification date).
2016-10-24 12:51:21 +02:00
c34f89df9b
Added connection header related functions.
...
- WSF_REQUEST.is_keep_alive_http_connection: BOOLEAN
- HTTP_HEADER_MODIFIER.put_connection_keep_alive
- HTTP_HEADER_MODIFIER.put_connection_close
In Standalone request handler code, better detection of Connection: keep-alive header.
2016-10-18 13:22:32 +02:00
Jocelyn Fiat
12508c8e21
Updated to use new standalone option names.
2016-10-15 22:19:19 +02:00
Jocelyn Fiat
3d58ef84fa
Fixed void-safety settings on web_socket_protocol.ecf .
2016-10-15 22:14:03 +02:00
Jocelyn Fiat
3a120f3311
Updated http_client library to benefit from http_network library.
2016-10-15 21:42:51 +02:00
Jocelyn Fiat
d45b90e52a
Fixed ecf to get them compiled.
2016-10-14 17:57:02 +02:00
c74b9e0c45
The network classes are now under http_network library, thus renamed the header file as ew_network.h .
2016-10-14 16:46:26 +02:00
Jocelyn Fiat
a4d737d548
Be sure to use ecf custom variable "ssl_enabled" and not the variant "httpd_ssl_enabled" or else.
...
Include again the openssl include folder for EiffelStudio before 16.11, otherwise eif_openssl is not found.
2016-10-14 14:32:04 +02:00
Jocelyn Fiat
16f667af2c
Reverted a few ecf files from ecf version 1-16-0 to ecf version 1-15-0.
...
Added target "http_network_ssl" to test http_network with ssl support.
2016-10-14 14:00:03 +02:00
Jocelyn Fiat
27a5c9d969
Fixed http_network compilation for EiffelStudio before version 16.11.
2016-10-14 13:51:57 +02:00
1161e541fa
Accept "yes" or "true" in wsf launcher option boolean values.
...
Set socket_error when network occurs in `read_to_managed_pointer_noexception`.
2016-10-14 13:10:44 +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
01a9d02586
Added websocket examples for the server and client.
2016-10-13 22:01:50 +02:00
8b43cb909a
Do not use put_readable_string_8_noexception, and just update put_string_8_noexception to accept READABLE_STRING_8.
2016-10-13 21:53:12 +02:00
897f64e4fe
Reuse http_network library.
...
Reintroduced HTTPD_STREAM_SOCKET for backward compatibility, and ease of usage.
Added websocket libraries (client, and protocol).
2016-10-13 16:25:11 +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
cc2d7dbb1c
Ignore empty header line.
2016-08-05 11:28:59 +02:00
cc3c8af6b4
Updated HTTP_COOKIE implementation
...
- by default the Cookie does not set max-age and expires, so it defines a Session Cookie.
(max_age and expires attributes are not included in the response)
- set_* and unset_* features to define max_age and expire attributes.
- marked old features as obsolete.
Updated test cases.
Signed-off-by: jvelilla <javier.hector@gmail.com >
2016-05-04 12:26:17 +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