Jocelyn Fiat
6ca3cca88b
Reverted change that made WSF_URI_HANDLER and WSF_URI_TEMPLATE_HANDLER inheriting from WSF_EXECUTE_HANDLER, as it breaks existing project using EiffelWeb.
2017-11-07 23:05:22 +01:00
Jocelyn Fiat
211fc425a3
Added handler to add support for CGI scripts.
...
Added a new tool `httpd` which is a basic httpd server product (with file server and CGI handler).
2017-11-03 18:00:39 +01:00
jvelilla
5d9752f257
Updated code, get rid of obsolete feature calls in libraries and examples
2017-04-13 16:48:17 -03:00
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
d6f3e500b8
Fixed implementation.
2017-02-13 17:35:14 +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
35855941e6
Comment and code cleaning.
2015-11-05 21:37:44 +01:00
50ba8ca703
Fixed various unicode issue related to query and form parameters.
...
(Especially for the multipart/form-data encoding.)
Factorized code related to smart parameters computing (handling list , table, ...) in WSF_VALUE_UTILITIES.
Fixed an issue with percent_encoded_path_info computation from request_uri.
Fixed issue with cookie addition having same cookie name.
Fixed unicode support for uploaded file.
WSF_STRING is reusing WSF_PERCENT_ENCODER.
Use unicode output for WSF_DEBUG_HANDLER.
Code cleaning
2015-11-05 21:32:24 +01:00
8246bc1444
Updated various indexing notes.
...
Removed a few obsolete classes.
Cosmetics
2015-05-06 22:15:46 +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
023e03bb8f
Completed change on debug handler and filter, to use WSF_DEBUG_INFORMATION.
2014-12-02 10:45:33 +01:00
446c692f97
Various changes related to new WSF_DEBUG_INFORMATION and WSF_DEBUG_HANDLER.
2014-07-01 19:59:08 +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
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
bbc2bab0eb
Removed usage of remote anchor types.
2014-02-28 14:25:13 +01:00
0f7dca0701
Removed unwanted call to RT_DEBUGGER in WSF_DEBUG_HANDLER.
...
This line was committed by error.
2013-09-24 17:19:29 +02:00
fc5ef995bc
Added WSF_CUSTOM_HEADER_FILTER which provide a convenient way to add a custom header from a filter.
...
Added to wsf_extension WSF_DEBUG_FILTER and WSF_DEBUG_HANDLER that could be convenient to test specific requests
Restructured wsf_extension
2013-09-06 15:39:04 +02:00
Colin Adams
a303783204
Fifth round of contracts for non-Void-safe users
2013-03-15 14:06:37 +00:00
Colin Adams
4ec2832375
Response to comments from review "Contracts for non-Void-safe users (take 1)"
2013-03-14 14:17:03 +00:00
Colin Adams
ca5619c6fc
Added non-Void contracts for classes previously flagged by AutoTest
2013-03-14 11:48:46 +00:00
Jocelyn Fiat
a7e6651806
Use WSF_REQUEST.read_input_data_into (buf)
2012-12-20 22:57:38 +01:00
Jocelyn Fiat
ffe87ccbe9
Fixed reading chunked input data
...
When retrieving data block by block, use 8_192 instead of 1_024 (since 1_024 is too small most of the time)
2012-12-18 23:40:26 +01:00
Jocelyn Fiat
6eb0ebd873
Merge pull request #16 from colin-adams/master
...
Implementation for automatic HEAD and first pass at HTTP 1.1 conformance contracts
2012-12-13 13:58:42 -08:00
Colin Adams
eafb04719d
Actioned Jocelyns comments re. a_req and a_res
2012-12-11 19:26:06 +00:00
Jocelyn Fiat
df0d3e584c
Fixed issue related to vars that are already converted to WSF_TABLE
2012-12-10 11:00:06 +01:00
Colin Adams
58f26fdc1b
Revert do_get_head patch
2012-12-06 19:48:13 +00:00
Colin Adams
a9d83f97a8
Completed first pass for HTTP 1.1 conformace contracts
2012-11-24 15:45:42 +00:00
Colin Adams
496df96f75
First postconditions relating to response codes added
2012-11-24 14:02:26 +00:00
Colin Adams
17ce1be582
Added framework for HTTP-conforming contracts
2012-11-24 11:55:10 +00:00
Jocelyn Fiat
fdd40ff08d
minor change: reuse local variable
2012-11-21 09:48:58 +01:00
Jocelyn Fiat
50d5254060
Added WSF_REQUEST_UTILITY_PROXY, that provides the WSF_REQUEST_UTILITY features to a class that implement request: WSF_REQUEST
2012-10-22 17:09:57 +02:00
Jocelyn Fiat
aa743c0a7d
Removed generic parameter in WSF_FILTER_HANDLER, since it is useless and make code heavy
...
Signed-off-by: Olivier Ligot <oligot@gmail.com >
Signed-off-by: Jocelyn Fiat <jfiat@eiffel.com >
2012-10-08 10:40:44 +02:00
Jocelyn Fiat
737213b44c
Added WSF_RESOURCE_CONTEXT_HANDLER_HELPER
2012-10-04 14:46:28 +02:00
Jocelyn Fiat
291bb3a33b
moved wsf_extension inside wsf/extension as wsf/wsf_extension.ecf
...
added wsf/session as wsf/wsf_session.ecf
In descendants of WSF_HANDLER , we can keep the result of new_mapping as WSF_ROUTER_MAPPING
2012-09-28 14:42:31 +02:00