jvelilla
0db02a8c52
Merge pull request #8 from Conaclos/working
...
Tests - Update syntax and improve implementation
2014-07-04 14:07:41 +02:00
1b4b50ee80
Replace any multiple slash sequence by a single slash character for PATH_INFO.
2014-07-02 11:36:43 +02:00
446c692f97
Various changes related to new WSF_DEBUG_INFORMATION and WSF_DEBUG_HANDLER.
2014-07-01 19:59:08 +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
jvelilla
a5a257f452
Update format
2014-07-01 04:47:23 -07:00
jvelilla
bde0e2900b
Created Deployment (markdown)
2014-07-01 04:42:56 -07:00
Conaclos
361773101e
Add documentation and contracts for domain types.
2014-06-30 18:32:14 +02:00
Conaclos
052860b62c
Improve converters.
...
Replace old syntax with new one and improve
implementation.
2014-06-30 18:31:42 +02:00
Conaclos
c5e1b1ee69
Syntax update.
...
Replace assigment attempt with object test.
2014-06-30 18:28:13 +02:00
0b1697f20d
Verbose mode for the WSF_DEBUG_HANDLER.
2014-06-30 15:45:54 +02:00
add71543a4
Fixed error introduced during refactorying on WSF_DEBUG_FILTER
2014-06-30 15:21:03 +02:00
66a1e0629c
Improved the debug example, so that it outputs more information.
2014-06-30 15:16:31 +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
Jocelyn Fiat
397dcc6128
Merge pull request #133 from jocelyn/better_uploading_file
...
Improved the uploading of file in regard to temporary filename.
2014-06-23 16:06:29 +02:00
a3c403323d
Raised the void-safety level to "complete"
...
Added comments.
2014-06-23 16:05:20 +02:00
942896aa0c
Fixed library location for http
2014-06-12 20:02:57 +02:00
93c92c0e38
Avoid decoding PATH_INFO and PATH_TRANSLATED to follow CGI spec.
2014-06-12 19:54:30 +02:00
394ca46f03
Added example to help debugging EWF
...
This is mainly a kind of echo server .. that return the request information.
2014-06-12 19:52:41 +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
Olivier Ligot
a826051979
Merge remote-tracking branch 'upstream/master'
2014-05-22 22:09:00 +02:00
Jocelyn Fiat
ce4c62a989
Merge pull request #131 from jocelyn/void-safe
...
Make sure to be able to compile in complete void-safe for 14.05 and still compile with 13.11
v0.4.0
2014-05-14 16:21:21 +02:00
b59966595e
Make sure to be able to compile in complete void-safe for 14.05 and still compile with 13.11
2014-05-14 16:18:10 +02:00
fcf8b63666
Make sure to be able to compile in complete void-safe for 14.05 and still compile with 13.11
2014-05-14 16:16:32 +02:00
cad9322839
Merge branch 'master' into void-safe
2014-05-14 11:32:28 +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
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
5a179f514c
Minor change to avoid unecessary conversion from eventual immutable string 8 to string 8.
2014-05-14 10:04:17 +02:00
f099a70b87
Apply recent change on error_handler interface to support unicode error message in response.
2014-05-14 10:03:15 +02:00
1163b99f39
Support for unicode error message for the ERROR_HANDLER.as_string_representation: STRING_32
...
and as well for debug_output, this avoid unecessary unicode string truncation.
2014-05-14 10:02:38 +02:00
ca6ccc7291
debug_output can return a string 32, so avoid truncated unicode value by returning a string 32 value for `debug_output' .
2014-05-14 09:59:29 +02:00
bb11c24681
check that cookies data is valid string 8 to follow assertions.
2014-05-14 09:53:04 +02:00
d158579bdc
Replaced notion of session uuid by session id which is more generic (could be a uuid, or something else).
...
Use STRING_TABLE for the implementation of session data container.
Added a few missing comments.
2014-05-14 09:45:15 +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
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
d6b77e938b
Added more tests for uri-template matching, especially with url that contains %2F i.e the percent encoded slash '/'
2014-04-22 19:25:07 +02:00
3c8dc0a9e1
Fixed various Unicode text handling.
...
Moved example folder inside the library, and renamed it "demo"
Improved example code.
2014-04-22 16:36:29 +02:00
fdfeea508e
Merge branch 'master' of https://github.com/EiffelWebFramework/EWF.wiki
2014-04-22 15:50:44 +02:00
99d0340e1b
Merge branch 'master' of https://github.com/eiffelhub/json
2014-04-22 15:50:30 +02:00
a74cda2f33
Added support for UTF-8 during decoding.
...
The JSON specification does not require it, but some json encoders are using utf-8 encoding for json encoding.
Added related autotest case.
2014-04-22 15:45:31 +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
Jocelyn Fiat
9db9a4957a
Updated Documentation__Request (markdown)
2014-04-17 07:24:13 -07:00
Jocelyn Fiat
d089921ef5
Updated Documentation__Request (markdown)
2014-04-17 07:23:54 -07:00
Jocelyn Fiat
7f3ece2da9
Updated Documentation__Request (markdown)
2014-04-17 07:23:33 -07:00
4b497060a0
Added an example to embed EWF nino service into a Vision2 desktop application.
...
This is locally consumed via the embedded web browser component.
2014-04-10 15:28:19 +02:00
d40131f863
Updated encoder library, especially URL encoders to reuse implementation of percent_encoder.e
...
Fixed JSON_ENCODER for %T and related.
Updated related autotest cases.
2014-04-09 18:10:51 +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