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
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
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
2371ad4bd1
Commented unwanted change.
2017-04-14 12:52:08 +02:00
Jocelyn Fiat
146b78e5b0
Updated code regarding to string 32 vs string 8.
2017-04-14 12:49:34 +02:00
Jocelyn Fiat
3b8261ff08
Updated code regarding to string 32 vs string 8.
2017-04-14 11:45:38 +02:00
Jocelyn Fiat
a530bbebb4
Merge remote-tracking branch 'javier/ewf_get_rid_obsolete_messages' into pr177
2017-04-13 22:58:12 +02:00
Jocelyn Fiat
d41dbb9f47
Syntax in ecf files.
2017-04-13 22:56:40 +02:00
Jocelyn Fiat
a57e041003
Added precondition to WSF_FILTER.set_next (..) to avoid cycle.
2017-04-13 22:55:39 +02:00
jvelilla
5d9752f257
Updated code, get rid of obsolete feature calls in libraries and examples
2017-04-13 16:48:17 -03:00
jocelyn
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
jocelyn
8bb9675719
Update email notification storage classes.
2017-03-08 14:10:55 +01:00
jocelyn
4e21adc41f
Fixed the notification_email_file_storage.
...
Added a new notification_email_directory_storage.
2017-03-08 10:33:16 +01:00
jocelyn
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
jocelyn
b2e795d2d1
removed useless local variable.
2017-03-07 13:14:47 +01:00
jocelyn
f2ecccce4f
Improved NOTIFICATION_SMTP_MAILER.make (..) to support user:password@...
...
Propage error in notification_chain_mailer.
2017-03-07 13:14:16 +01:00
jocelyn
5988d9d74b
Updated code related to force_single_threaded setting to mark it obsolete, and for now, have coherent value 1 vs 0 among the standalone code and the httpd library.
2017-03-02 09:59:14 +01:00
jocelyn
5dc9d82df7
Added wsf_html documentation in the doc/workbook.
...
Also improved the structure of `wsf_html` library.
Added a few widgets.
2017-02-14 19:37:03 +01:00
jocelyn
fbdf034b9b
Conflict response can also have a payload to help the client understand the source of the conflict.
2017-02-13 17:36:10 +01:00
jocelyn
d6f3e500b8
Fixed implementation.
2017-02-13 17:35:14 +01:00
jocelyn
a44c4d9a16
Minor changes.
2017-02-12 12:42:25 +01:00
jocelyn
7f50409d08
Follow redirection only for redirection http status 3** .
2017-01-26 22:18:14 +01:00
jocelyn
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
jocelyn
a6245351ef
Updated http_client README.
2017-01-16 21:36:03 +01:00
jocelyn
d09d452ad5
Added test cases for PATH_INFO and percent_encoded_path_info for root url cases.
...
Removed obsolete calls from TEST_EXECUTION_I .
2017-01-10 12:37:37 +01:00
jocelyn
56fa773b30
If PATH_INFO is "/", the percent encoded path info is also "/". No need for complex computation.
...
Note this fixes an issue with libfcgi app not hosted as root url such as "/sub/app.fcgi" on (old) IIS server.
2017-01-10 11:59:48 +01:00
jocelyn
ee9746449c
If PATH_INFO is empty, the percent encoded path info is also empty. No need for complex computation.
...
Note this fixes an issue with libfcgi app not hosted as root url such as "/sub/app.fcgi".
2017-01-10 00:16:50 +01:00
jocelyn
cad33e124d
Fixed a few compilation issue with 16.11 .
2016-12-06 12:15:36 +01:00
jocelyn
ece6607bcf
Disable debug clause for the wsf tests suite.
...
Removed useless dep on EiffelThread
2016-12-05 21:50:02 +01:00
jocelyn
f56aa22c29
Fixed compilation of proxy and simple examples.
...
Made the websocket client library scoop capable.
2016-12-05 15:56:46 +01:00
jocelyn
186e5514eb
If the count for put_file_content is not positive (i.e <= 0), do not send anything.
...
Output/log more information for request handling when standalone httpd server has verbose enabled.
2016-12-01 21:20:14 +01:00
jocelyn
72a40a2673
Fixed potential void-safety issue in descendants related to initialization of router and filter.
2016-12-01 18:14:07 +01:00
jocelyn
2fbffd0c1e
Fixed compilation.
2016-12-01 16:09:41 +01:00
jocelyn
9e5fec9c34
Removed unwanted files.
2016-12-01 15:02:40 +01:00
jocelyn
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
jocelyn
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
d05c919668
Made the notification_email library compilable with 16.05 and upcoming 16.11 .
2016-11-01 14:22:48 +01:00
jocelyn
c7b1d4bb4c
Use the theoretical version number of EiffelStudio when we inserted new features to EiffelNet.
2016-10-31 17:12:55 +01:00
jocelyn
193f22ebc8
Fixed wsf tests project.
...
Added ini config support to simple_file example.
2016-10-25 15:22:18 +02:00
jocelyn
5e79751522
Updated WGI_OUTPUT_STREAM.put_file_content .
2016-10-25 13:44:44 +02:00
jocelyn
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
jocelyn
885195dbaa
Added WSF_RESPONSE.put_file_content (f: FILE, a_offset: INTEGER; a_count: INTEGER) to allow potential future optimization.
2016-10-24 12:47:33 +02:00
jocelyn
53f4f64596
Added feature to manipulate easily the chain of filters.
2016-10-21 19:39:42 +02:00
jocelyn
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
4a47a00747
Better all-safe.ecf file under wsf/connector .
2016-10-15 22:37:16 +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