fbbd1f1eee
Fixed various void-safety issue with recent compilers.
...
Note that EWF does now require EiffelStudio 7.2, and is compiling with 7.3
2013-06-07 15:40:50 +02:00
Colin Adams
b321bee60e
merging from upstream - stage 1
2013-03-26 17:04:49 +00:00
Jocelyn Fiat
2eb9abeb37
Added remove_header_named (a_name)
2013-03-26 10:33:06 +01:00
Colin Adams
f11dbd9080
fix merge conflict from master
2013-03-21 15:55:14 +00:00
Colin Adams
a6fbed22fe
Implemented 503 and 414 responses in WSF_ROUTED_SERVICE
2013-03-16 14:08:33 +00:00
Olivier Ligot
45f0971594
Use new upstrem method put_header_key_values
2013-03-15 13:38:40 +01:00
Olivier Ligot
496b831956
Merge remote-tracking branch 'jocelyn/flexible_response' into cors
...
Conflicts:
examples/filter/filter-safe.ecf
examples/filter/src/filter_server.e
library/network/protocol/http/src/http_header.e
library/server/wsf/src/wsf_response.e
2013-03-15 13:33:13 +01:00
Jocelyn Fiat
82784529fe
Enhanced HTTP_HEADER with new helper features.
2013-03-12 16:19:43 +01:00
Jocelyn Fiat
441cf86eda
Enhanced HTTP_DATE with yyyy_mmm_dd output string.
2013-03-01 18:11:22 +01:00
Jocelyn Fiat
9c0a2bd6a1
prefer 2 append call, rather than create a temp intermediary string object with +
2013-02-26 15:33:00 +01:00
Jocelyn Fiat
40ea982293
Added ANSI C date time string format support in HTTP_DATE.
2013-01-31 15:30:39 +01:00
Jocelyn Fiat
d172dedf31
Fixed HTTP_DATE for GMT+ offset (integer value)
2013-01-31 13:54:10 +01:00
Jocelyn Fiat
20d5798444
Added HTTP_DATE to ease http date manipulation and optimize code rather than using EiffelTime's code facilities.
...
Added autotests to `http' lib.
2013-01-31 11:23:11 +01:00
Jocelyn Fiat
8f232bd627
Added `append_string_to' to HTTP_HEADER
2013-01-23 16:23:10 +01:00
Jocelyn Fiat
acd942b720
Minor optimization in HTTP_HEADER
2013-01-22 21:13:40 +01:00
Olivier Ligot
c89a3f007f
Added {HTTP_HEADER}.put_header_key_values
...
This is mainly a refactoring that is useful for an upcoming PR
regarding CORS (smaller patches are better...)
Note that this also fixes a small typo where an extra space was
added when calling {HTTP_HEADER}.put_allow
2013-01-22 17:09:23 +01:00
Olivier Ligot
ff57d0ecd4
Cross-Origin Resource Sharing initial support
...
Initial support for the Cross-Origin Resource Sharing specification.
This allows JavaScript to make requests across domain boundaries.
Also reviewed the filter example to get rid of the context and
the generic classes (we can actually use {WSF_REQUEST}.execution_variable
and {WSF_REQUEST}.set_execution_variable).
Links:
* How to enable server-side: http://enable-cors.org/server.html
* Specification: http://www.w3.org/TR/cors/
* Github: http://developer.github.com/v3/#cross-origin-resource-sharing
2013-01-09 17:34:50 +01:00
Jocelyn Fiat
59f19dc52f
Fixed WSF_RESPONSE chunk transfer implementation
...
and also the optional extension `a_ext' should now include the ';'
Now HTTP_HEADER is an ITERABLE [READABLE_STRING_8]
2012-12-19 11:45:59 +01:00
Jocelyn Fiat
4612fdb5de
Added Authorization and Allow
...
Added is_empty and count
2012-12-14 15:51:12 +01:00
Jocelyn Fiat
2c2e031944
Fixed Date: formatting, follow RFC 1123
2012-10-23 12:00:59 +02:00
Jocelyn Fiat
45daa731cf
Added put_expires_string (s: STRING) and put_expires_date (dt: DATE_TIME)
...
Better implementation for WSF_FILE_RESPONSE (added last modified, and other caching related info)
2012-09-10 09:27:32 +02:00
Jocelyn Fiat
db448001a1
Change structure of EWF, to follow better categorization
2012-06-13 22:32:17 +02:00