0b1697f20d
Verbose mode for the WSF_DEBUG_HANDLER.
jocelyn2014-06-30 15:45:54 +02:00
add71543a4
Fixed error introduced during refactorying on WSF_DEBUG_FILTER
jocelyn2014-06-30 15:21:03 +02:00
66a1e0629c
Improved the debug example, so that it outputs more information.
jocelyn2014-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
jocelyn2014-06-30 15:13:47 +02:00
397dcc6128
Merge pull request #133 from jocelyn/better_uploading_file
Jocelyn Fiat
2014-06-23 16:06:29 +02:00
a3c403323d
Raised the void-safety level to "complete" Added comments.
jocelyn2014-06-23 16:05:20 +02:00
942896aa0c
Fixed library location for http
jocelyn2014-06-12 20:02:57 +02:00
93c92c0e38
Avoid decoding PATH_INFO and PATH_TRANSLATED to follow CGI spec.
jocelyn2014-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.
jocelyn2014-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.
jocelyn2014-06-11 16:52:22 +02:00
ce4c62a989
Merge pull request #131 from jocelyn/void-safe
v0.4.0
Jocelyn Fiat
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
jocelyn2014-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
jocelyn2014-05-14 16:16:32 +02:00
cad9322839
Merge branch 'master' into void-safe
jocelyn2014-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
jocelyn2014-05-14 10:14:51 +02:00
0b11663da4
Merge pull request #128 from jocelyn/response_header
Jocelyn Fiat
2014-05-14 10:06:58 +02:00
5a179f514c
Minor change to avoid unecessary conversion from eventual immutable string 8 to string 8.
jocelyn2014-05-14 10:04:17 +02:00
f099a70b87
Apply recent change on error_handler interface to support unicode error message in response.
jocelyn2014-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.
jocelyn2014-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' .
jocelyn2014-05-14 09:59:29 +02:00
bb11c24681
check that cookies data is valid string 8 to follow assertions.
jocelyn2014-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.
jocelyn2014-05-14 09:45:15 +02:00
02f5a09689
Added comment to explain why conversion to string 8 is safe
jocelyn2014-05-14 09:36:22 +02:00
cb3de17be9
renamed HTTP_HEADER_BUILDER as HTTP_HEADER_MODIFIER
jocelyn2014-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
jocelyn2014-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 '/'
jocelyn2014-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.
jocelyn2014-04-22 16:36:29 +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.
jocelyn2014-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.
jocelyn2014-04-22 10:18:16 +02:00
7168941495
is_https should not rely on REQUEST_SCHEME which may still be "http" for SSL connection.
jocelyn2014-04-22 10:09:03 +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.
jocelyn2014-04-22 09:59:18 +02:00
9db9a4957a
Updated Documentation__Request (markdown)
Jocelyn Fiat
2014-04-17 07:24:13 -07:00
d089921ef5
Updated Documentation__Request (markdown)
Jocelyn Fiat
2014-04-17 07:23:54 -07:00
7f3ece2da9
Updated Documentation__Request (markdown)
Jocelyn Fiat
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.
jocelyn2014-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.
jocelyn2014-04-09 18:10:51 +02:00
9999b5e400
Moved implementation of WSF_PERCENT_ENCODER into "encoder" library, and added the *partial* variant.
jocelyn2014-04-09 17:19:09 +02:00
6e27f66306
Improved BASE64 to update has_error when decoding. Added manual tests.
jocelyn2014-04-09 16:56:40 +02:00
a4c1263190
fixed code for test_url_encoder
jocelyn2014-04-09 16:22:42 +02:00
46920fb991
Do not try to read more bytes from input than provided Content-Length value.
jocelyn2014-04-09 12:27:31 +02:00
d50b3cb28c
For maintenance filter, response with http status code {HTTP_STATUS_CODE}.service_unavailable
jocelyn2014-04-09 12:22:36 +02:00
4e7e1e9c45
Added more comments and assertions to all classes; clean up
severin
2014-03-19 16:49:24 +01: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)
jocelyn2014-03-18 14:13:16 +01:00
ae0ba66416
Added comments, used better parameter names.
jocelyn2014-03-17 21:30:34 +01:00
718cebc700
Extracting HTTP_HEADER_BUILDER from HTTP_HEADER to provide useful interface on WSF_RESPONSE, and make WSF_SESSION easier to use.
jocelyn2014-03-17 18:10:55 +01:00
a2cbcbbbc6
Updated demo_basic example to be easier to read, and demonstrate various scenario.
jocelyn2014-03-13 13:02:04 +01:00
13349d07a8
Fix upload state
YNH Webdev
2014-01-25 18:00:31 +01:00
991389e9b9
Update restbucksCRUD example to use "crypto" library rather than "eel". Updated readme.md to add curl command to test the server.
jocelyn2014-01-24 11:02:43 +01:00
d8487e6c12
Added PUT processing for image_uploader EWF example.
jocelyn2014-01-24 11:01:28 +01:00
b7750b9d06
Udated to highest level of void-safety. Fixed obsolete calls.
jvelilla
2014-01-12 16:56:16 -03:00
d82cacc18f
Merge branch 'widget' of github.com:ynh/EWF into widget
severin
2014-01-11 12:53:59 +01:00