8651ff6e1e
Fixing script_url' that wrongly used path_info' instead of `percent_encoded_path_info'.
...
(issue on script_url when path info contains unicode character).
2015-08-04 13:03:51 +02:00
33150e34d6
Reverted previous changed related to redefinition of set_status_code which was against existing assertions.
2015-07-02 15:11:33 +02:00
31557cfc33
Fixed WGI_HTTPD_REQUEST_HANDLER.process_rescue
...
Fixed WGI_STANDALONE_OUTPUT_STREAM.is_available
Added WGI_STANDALONE_RESPONSE_STREAM.is_persistent_connection_supported
2015-07-02 10:50:41 +02:00
99a05b95ba
Improved code related to cookie management (avoid duplicated cookie).
2015-06-22 22:06:16 +02:00
c0d5b7c968
Added make_from_execution procedure to ease implementing various use cases.
2015-06-16 15:02:17 +02:00
0e3e97a7fd
Added a few example based on the obsolete libraries (v0).
...
Updated the tutorial example.
Added WSF_MESSAGE_EXECUTION.
2015-06-10 16:49:23 +02:00
9424b1e369
Merge branch 'master' into v1
2015-06-08 10:10:51 +02:00
64463df552
Fixed various compilation error or warning.
2015-06-05 12:17:53 +02:00
8b60ab08e3
Added WSF_FILE_UTILITIES.new_file (p: PATH): detachable G
...
in order to provide non existing file, but not only for temporary files purpose.
2015-05-22 22:27:28 +02:00
fffa763d05
Updated a few comments.
2015-05-06 22:37:55 +02:00
8ea443c115
Added abstraction WSF_ROUTED, and WSF_FILTERED.
...
Added under library/server/obsolete/v0 the previous non concurrent friendly version of EWF/WSF, for backward compatiblity.
Removed WSF_CALLBACK_SERVICE and WSF_TO_WGI_SERVICE which are not need with new EWF.
2015-05-06 22:17:37 +02:00
jvelilla
dc35925eb0
Added Missing Class and feature descriptions.
...
Removed author entry.
2015-05-06 22:16:03 +02:00
8246bc1444
Updated various indexing notes.
...
Removed a few obsolete classes.
Cosmetics
2015-05-06 22:15:46 +02:00
4907bc3085
Migrated most of the example and library to new design.
2015-05-06 22:15:43 +02:00
7d2ce8a77f
Implemented support for base url in httpd connector.
2015-05-06 22:15:38 +02:00
b4a9c92ffc
Migrated simple, simple_file and upload_image example.
...
Adapted EWF accordingly.
2015-05-06 22:14:48 +02:00
bf0eb9a02d
Added SCOOP support for WSF.
...
WSF_SERVICE is deeply changed, and addition of WSF_EXECUTION.
Todo: code cleaning, removing useless things.
2015-05-06 22:13:22 +02:00
7f27a6c797
First steps to provide a concurrent compliant EWF connector.
2015-05-06 22:13:11 +02:00
881625a0f6
Updated code to remove obsolete call on recent version of json library.
...
Updated upload_image example to use PATH instead of DIRECTORY_NAME or similar.
Removed unused local variables.
2015-04-07 19:27:30 +02:00
jvelilla
30261632f6
Updated HTTP_COOKIE, enable to add a cookie with empty value.
...
Added feature to check if a date is valid rcf1123 is_valid_rfc1123_date.
Added test cases related to valid cookie dates.
Updated wsf_response add_cookie basedo on review comments.
2015-03-19 15:23:06 -03:00
jvelilla
08db0748f4
Updated is_valid_character, using NATURAL_32 as an argument to avoid multiple conversions.
...
Updated add_cookie, added features has_cookie_name and is_cookie line to avoid the use of
STRING.split and STRING.start_with.
2015-03-19 09:39:41 -03:00
jvelilla
9dc22bee24
Updated HTTP_COOKIE class based on comments.
...
Added missing descriptions in test classes
2015-03-17 17:00:07 -03:00
jvelilla
c4d362ff31
Added the add_cookie feature
...
Added test cases to check cookies in WSF_RESPONSE-
Added mock classes use for test cases.
2015-03-17 14:27:53 -03:00
jvelilla
871e9792a5
Added HTTP_COOKIE and test cases.
...
Added WSF_COOKIE class, inherit from HTTP_COOKIE.
2015-03-13 15:28:38 -03:00
0caad2105f
Merge branch 'fix_cgi_value' of github.com:jocelyn/EWF
2014-12-01 15:53:45 +01:00
440d3f9c91
Fixing issues related to status code.
2014-11-28 16:10:50 +01:00
6b9d248542
WSF_TRACE_RESPONSE should include "Content-Type: message/http" header
...
Close issue #145
2014-11-25 15:55:48 +01:00
6d2318ac9b
Fixed issue#157 (WSF_REQUEST.cookies_table does not terminate on cookies without a value, or ending with semi-colon)
...
Added related autotest.
2014-11-24 22:22:12 +01:00
Colin Adams
0f76518b63
Added {WSF_REQUEST}.http_content_encoding
2014-11-19 14:41:50 +00:00
Colin Adams
e1d1d52260
Issue #143
2014-11-17 16:20:28 +00:00
73d45c9817
Updated WSF_FILE_UTILITIES with class comment,
...
and avoid having expanded generic class.
2014-10-28 12:52:23 +01:00
985a5e5ce7
Merge branch 'master' of github.com:EiffelWebFramework/EWF into widget_integration
2014-07-07 10:30:42 +02:00
7dfc6ea67a
Fixed various issues related to unicode and CGI variables (assuming that CGI variables are utf-8 encoded, and sometime percent encoded).
...
Delayed computation of `value' and `name' from WSF_STRING.
Fixed computation of REQUEST_URI when the server does not provide it (this is rare, but possible).
compute it as SERVER_NAME + encoded-PATH_INFO + {? + QUERY_STRING}
2014-07-01 19:57:14 +02:00
425c976032
Ensure that PATH_INFO and REQUEST_URI are following the CGI specifications:
...
- PATH_INFO is percent decoded but still utf-8 encoded,
this is available via WGI.path_info and WSF_REQUEST.utf_8_path_info.
- Added WSF_REQUEST.percent_encoded_path_info
- and WSF_REQUEST.path_info remains the unicode value for PATH_INFO
Added cgi_variables: WGI_REQUEST_CGI_VARIABLES to have a simple and quick view on CGI variables
Added execution_variables to be able to iterate on execution variables.
Added PERCENT_ENCODER.percent_decoded_utf_8_string
Improved the WSF_DEBUG_HANDLER to provide more information thanks to WSF_DEBUG_INFORMATION object.
2014-06-30 15:13:47 +02:00
a3c403323d
Raised the void-safety level to "complete"
...
Added comments.
2014-06-23 16:05:20 +02:00
93c92c0e38
Avoid decoding PATH_INFO and PATH_TRANSLATED to follow CGI spec.
2014-06-12 19:54:30 +02:00
67641da44d
Improved the uploading of file in regard to temporary filename.
...
Avoid to overwrite the same file for concurrent requests uploading the same filename.
2014-06-11 16:52:22 +02:00
Jocelyn Fiat
0b11663da4
Merge pull request #128 from jocelyn/response_header
...
Extracting HTTP_HEADER_BUILDER from HTTP_HEADER
Improving wsf session usage
Various unicode related improvement for router and error library.
2014-05-14 10:06:58 +02:00
bb11c24681
check that cookies data is valid string 8 to follow assertions.
2014-05-14 09:53:04 +02:00
02f5a09689
Added comment to explain why conversion to string 8 is safe
2014-05-14 09:36:22 +02:00
cb3de17be9
renamed HTTP_HEADER_BUILDER as HTTP_HEADER_MODIFIER
2014-05-14 09:35:55 +02:00
322fd80f40
Be sure to reset `is_https' to False, in case the wsf_request object is reused by the implementation.
2014-04-22 10:18:16 +02:00
7168941495
is_https should not rely on REQUEST_SCHEME which may still be "http" for SSL connection.
2014-04-22 10:09:03 +02:00
161607cf8a
better comments.
2014-04-22 10:01:27 +02:00
d45cd032a7
Corrected support of https request in `server_url' (and callers).
...
Added query `is_https' to indicate if the request is done via a https connection or not.
2014-04-22 09:59:18 +02:00
9999b5e400
Moved implementation of WSF_PERCENT_ENCODER into "encoder" library, and added the *partial* variant.
2014-04-09 17:19:09 +02:00
46920fb991
Do not try to read more bytes from input than provided Content-Length value.
2014-04-09 12:27:31 +02:00
da92d2d365
Added alias "[]" to `item', to get header value for a header name.
...
Added assigner for `item' to make it easier to add header item without confusing key and value.
Better parameter names (more explicit)
2014-03-18 14:13:16 +01:00
718cebc700
Extracting HTTP_HEADER_BUILDER from HTTP_HEADER
...
to provide useful interface on WSF_RESPONSE,
and make WSF_SESSION easier to use.
2014-03-17 18:10:55 +01:00
bbc2bab0eb
Removed usage of remote anchor types.
2014-02-28 14:25:13 +01:00