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
0d87c7939a
Fixed sending of chunk, especially the ending where there is an optional Trailer, and a mandatory final CRLF
...
Now put_chunk does not support anymore empty chunk, and thus does not call put_chunk_end if ever it is called with empty chunk content.
Fixed the `transfered_content_length' when dealing with chunk transfert encoding
2012-12-18 23:34:55 +01:00
Jocelyn Fiat
de93ce32ff
Added logger response wrapper, this is mainly to be able to save any response message to a file.
...
(debugging purpose)
2012-12-18 23:28:04 +01:00
Jocelyn Fiat
71b1bad53d
Added basic support for "Expect" http header
...
i.e: WSF_REQUEST.http_expect: detachable READABLE_STRING_8
Added WSF_REQUEST.request_time_stamp: INTEGER_64
2012-12-18 23:25:54 +01:00
Jocelyn Fiat
82c779fd60
fixed autotests compilation
2012-12-17 17:53:06 +01:00
Jocelyn Fiat
68ec6fb29c
Made WSF_REQUEST.is_content_type_accepted safer.
2012-12-14 15:52:54 +01:00
Jocelyn Fiat
cc570f5abf
Added WSF_DEFAULT_*_RESPONSE
...
Fixed the method not allowed by setting the Allow: header
2012-12-14 15:52:35 +01:00
Jocelyn Fiat
8e31950285
Improved HTTP_AUTHORIZATION
2012-12-14 15:51:34 +01:00
Jocelyn Fiat
4612fdb5de
Added Authorization and Allow
...
Added is_empty and count
2012-12-14 15:51:12 +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
Jocelyn Fiat
4a65015988
removed unused local variables
2012-12-13 18:43:15 +01:00
Jocelyn Fiat
e7f458fd50
added code that may be used to avoid breaking compatibility with new Eiffel Studio 7.2
...
This is experimental for now.
2012-12-13 18:16:01 +01:00
Jocelyn Fiat
b7505e67b8
Added to WSF_REQUEST
...
- raw_header_data: like meta_string_variable
- read_input_data_into (buf: STRING)
- is_content_type_accepted (a_content_type: READABLE_STRING_GENERAL): BOOLEAN
Changed raw_input_data to return IMMUTABLE_STRING_8
Added WSF_METHOD_NOT_ALLOWED_RESPONSE
Added WSF_TRACE_RESPONSE to respond TRACE request
Now Not_found response return html content if the client accepts, other text/plain
Implemented TRACE response, and Method not allowed as implementation of WSF_ROUTED_SERVICE.execute_default
2012-12-13 17:29:46 +01:00
Jocelyn Fiat
ff7d963d55
Fixed WGI_INPUT_STREAM read_to_string and append_to_string
2012-12-13 17:24:55 +01:00
Jocelyn Fiat
d264899e8b
Merge branch 'master' of https://github.com/eiffelhub/json
2012-12-13 12:02:27 +01:00
Jocelyn Fiat
cb034fc94e
Added missing "context" classes for uri and starts_with mapping+handler (and helper classes).
...
So that it is address more needs.
Factorized code between "context" and non context classes.
2012-12-13 12:01:24 +01:00
Jocelyn Fiat
3e976768ac
Merge pull request #3 from jvelilla/master
...
Fixed documentation URI
2012-12-12 09:58:35 -08:00
Jocelyn Fiat
dc16bcc87b
Merge pull request #4 from oligot/fix_json_object_hash_code
...
Fix {JSON_OBJECT}.hash_code implementation
2012-12-12 09:58:11 -08:00
Jocelyn Fiat
025457747b
Merge pull request #20 from oligot/fix_fcgi_safe
...
use /usr/lib/libfcgi.so instead of /usr/local/lib/libfcgi.so
2012-12-12 05:59:02 -08:00
Olivier Ligot
ed325f81e1
use /usr/lib/libfcgi.so instead of /usr/local/lib/libfcgi.so
...
This was already fixed in libfcgi.ecf
(commit 65a998cec3 )
This fixes the libfcgi-safe.ecf file
2012-12-12 13:34:50 +01:00
Colin Adams
eafb04719d
Actioned Jocelyns comments re. a_req and a_res
2012-12-11 19:26:06 +00:00
Olivier Ligot
233de09c48
Fix {JSON_OBJECT}.hash_code implementation
...
Don't call {HASH_TABLE}.item_for_iteration when {HASH_TABLE}.off
Use {HASH_TABLE}.out instead
2012-12-10 17:39:22 +01:00
Jocelyn Fiat
df0d3e584c
Fixed issue related to vars that are already converted to WSF_TABLE
2012-12-10 11:00:06 +01:00
Jocelyn Fiat
903495175d
Get rid of obsolete scripts
...
(we do not use git submodule anymore, so this is much easier .. for the users)
2012-12-10 10:59:57 +01:00
Colin Adams
365da7e30a
merged from upstream
2012-12-08 08:25:47 +00:00
Jocelyn Fiat
e20cb6b6ed
make it compiles with EiffelStudio 7.1 and 7.2
2012-12-07 14:55:38 +01:00
Colin Adams
58f26fdc1b
Revert do_get_head patch
2012-12-06 19:48:13 +00:00
Jocelyn Fiat
926ae823ac
compile all-safe.ecf as windows or unix, even if not on Windows or unix
2012-12-05 22:39:43 +01:00
Jocelyn Fiat
39c3e8c5cf
corrected null connector ecf files
2012-12-05 22:39:05 +01:00
Jocelyn Fiat
7308a76ac8
Merge branch 'master' of github.com:EiffelWebFramework/EWF
2012-12-05 22:31:19 +01:00
Jocelyn Fiat
9499d4aa59
added tests\all-safe.ecf to compile most of EWF's lib, to quickly check the compilation state
2012-12-05 22:30:28 +01:00
Jocelyn Fiat
20c94e927d
use libfcgi(-safe).ecf rather than fcgi(-safe).ecf
2012-12-05 22:30:26 +01:00
Jocelyn Fiat
5de14b114e
Provide a way to log into a file, rather than just console output
...
Minor optimization for WSF_LOGGING_FILTER
2012-12-05 22:30:24 +01:00
Jocelyn Fiat
a9f3ea7886
Prepare upcoming support for unicode environment variables
2012-12-05 22:30:21 +01:00
Jocelyn Fiat
d445559890
removed fcgi(-safe).ecf files ... since there renamed libfcgi(-safe).ecf
2012-12-05 22:30:19 +01:00
Olivier Ligot
4ed8365afe
ise_wizard Unix shell scripts
2012-12-05 22:30:16 +01:00
Olivier Ligot
a6ca54f958
Fix ise_wizard
...
* ewf.ini was used instead of template.ecf as configuration file
* remove initialize_router otherwise the compilation failed
* remove unused variables
2012-12-05 22:30:14 +01:00
Olivier Ligot
075ac1d628
Logging filter
...
The logging filter is now part of EWF core (before it was only available in
the filter example) and can therefore be reused by others needing it.
Note that this is a first implementation. It can certainly be improved in
the future to support more fine grained logging.
2012-12-05 22:30:12 +01:00
Jocelyn Fiat
2ed861e3d9
added tests\all-safe.ecf to compile most of EWF's lib, to quickly check the compilation state
2012-12-05 22:26:58 +01:00
Jocelyn Fiat
e1dffa542e
use libfcgi(-safe).ecf rather than fcgi(-safe).ecf
2012-12-05 22:21:36 +01:00
Jocelyn Fiat
43df8f573b
Provide a way to log into a file, rather than just console output
...
Minor optimization for WSF_LOGGING_FILTER
2012-12-05 22:20:56 +01:00
Jocelyn Fiat
78b161df16
Prepare upcoming support for unicode environment variables
2012-12-05 22:19:59 +01:00
Jocelyn Fiat
bbf63c1cc0
removed fcgi(-safe).ecf files ... since there renamed libfcgi(-safe).ecf
2012-12-05 17:02:32 +01:00
Jocelyn Fiat
25f6528d2e
Merge pull request #17 from oligot/logging_filter
...
Logging filter
2012-12-05 08:00:43 -08:00
Jocelyn Fiat
21ec257091
Merge pull request #19 from oligot/ise_wizard_sh
...
ise_wizard Unix shell scripts
2012-12-04 06:06:27 -08:00
Olivier Ligot
eb676bd14b
ise_wizard Unix shell scripts
2012-12-04 14:42:09 +01:00
Jocelyn Fiat
9770af09b4
Merge pull request #18 from oligot/fix_ise_wizard
...
Fix ise_wizard
2012-12-04 03:01:41 -08:00
Olivier Ligot
e9376b5d16
Fix ise_wizard
...
* ewf.ini was used instead of template.ecf as configuration file
* remove initialize_router otherwise the compilation failed
* remove unused variables
2012-12-03 17:37:26 +01:00
Olivier Ligot
fc8188aeb1
Logging filter
...
The logging filter is now part of EWF core (before it was only available in
the filter example) and can therefore be reused by others needing it.
Note that this is a first implementation. It can certainly be improved in
the future to support more fine grained logging.
2012-12-03 16:29:12 +01:00
Jocelyn Fiat
156406f9ac
Fixed various compilation issue with new self documentation
...
Improved the self documentation handler to provide a make_hidden creation procedure
2012-12-03 12:20:12 +01:00