9cdd676417
Fixed HTTP_HEADER.put_raw_header (..) by ignoring any empty line of the argument value.
...
(note: "%R" is considered as empty line here.)
2018-05-30 17:25:04 +02:00
Jocelyn Fiat
2f98d7031f
Updated a few package.iron files.
2017-10-06 14:06:46 +02:00
Jocelyn Fiat
9b97627c76
Update package.iron files.
2017-10-06 10:27:32 +02:00
Jocelyn Fiat
7028892374
Removed unwanted committed files.
2017-05-12 14:55:02 +02:00
Jocelyn Fiat
fb9af26d32
Updated or added timestamp to obsolete and fixme messages.
...
Fixed ecf file exclusion for .svn and .git .
Cosmetic changed.
2017-05-12 14:11:22 +02:00
Jocelyn Fiat
94ba19920e
Merge branch 'v1' into es17.01
...
# Conflicts:
# library/text/parser/uri_template/uri_template-safe.ecf
# library/text/parser/uri_template/uri_template.ecf
2017-04-14 12:04:33 +02:00
Jocelyn Fiat
3b8261ff08
Updated code regarding to string 32 vs string 8.
2017-04-14 11:45:38 +02:00
739c33b317
Merge branch 'master' into es17.01
2017-03-07 14:37:09 +01:00
9c207f4c9b
Added put_content_type_utf_8_text_html to HTTP_HEADER .
...
Improved the directory index access denied message.
2017-03-07 14:36:16 +01:00
d4c79f1893
Fixed xml info of ecf files.
2017-03-07 14:31:36 +01:00
a44ca1a76c
Converted all ecf files to ecf version 1-16-0 .
2017-02-14 14:47:07 +01:00
cad33e124d
Fixed a few compilation issue with 16.11 .
2016-12-06 12:15:36 +01:00
ca8f95a594
Made library ecf compilable in scoop concurrency mode by default.
...
So ecf files are compilable with 16.05 and 16.11 .
2016-12-01 14:56:56 +01:00
5a9ccce558
Made library ecf compilable in scoop concurrency mode by default.
...
Except nino related projects that depends on EiffelThread.
2016-11-01 14:30:19 +01:00
ac908e4efd
Fixed expiration, and cache-control: max-age implementation.
...
Also use `FILE.date` instead of `FILE.change_date` (`change_date` is the date of the last status change, quite often same as creation date, while `date` is the last modification date).
2016-10-24 12:51:21 +02:00
c34f89df9b
Added connection header related functions.
...
- WSF_REQUEST.is_keep_alive_http_connection: BOOLEAN
- HTTP_HEADER_MODIFIER.put_connection_keep_alive
- HTTP_HEADER_MODIFIER.put_connection_close
In Standalone request handler code, better detection of Connection: keep-alive header.
2016-10-18 13:22:32 +02:00
cc2d7dbb1c
Ignore empty header line.
2016-08-05 11:28:59 +02:00
cc3c8af6b4
Updated HTTP_COOKIE implementation
...
- by default the Cookie does not set max-age and expires, so it defines a Session Cookie.
(max_age and expires attributes are not included in the response)
- set_* and unset_* features to define max_age and expire attributes.
- marked old features as obsolete.
Updated test cases.
Signed-off-by: jvelilla <javier.hector@gmail.com >
2016-05-04 12:26:17 +02:00
e9afc9ad17
Updated package.iron files.
2016-02-02 09:57:03 +01:00
98c12b8fb9
Made HTTP_DATE more flexible and support UTC+0000, GMT+0000 and now also +0000.
...
Added comments.
2015-10-08 11:00:01 +02:00
jvelilla
cc65bae644
Fixed typo: Aug instead of Aou.
2015-08-06 10:45:47 +02:00
8246bc1444
Updated various indexing notes.
...
Removed a few obsolete classes.
Cosmetics
2015-05-06 22:15:46 +02:00
jvelilla
30261632f6
Updated HTTP_COOKIE, enable to add a cookie with empty value.
...
Added feature to check if a date is valid rcf1123 is_valid_rfc1123_date.
Added test cases related to valid cookie dates.
Updated wsf_response add_cookie basedo on review comments.
2015-03-19 15:23:06 -03:00
jvelilla
08db0748f4
Updated is_valid_character, using NATURAL_32 as an argument to avoid multiple conversions.
...
Updated add_cookie, added features has_cookie_name and is_cookie line to avoid the use of
STRING.split and STRING.start_with.
2015-03-19 09:39:41 -03:00
jvelilla
9dc22bee24
Updated HTTP_COOKIE class based on comments.
...
Added missing descriptions in test classes
2015-03-17 17:00:07 -03:00
jvelilla
4a35ff7b77
Updated code based on Jocelyn's comments.
2015-03-13 17:41:48 -03:00
jvelilla
871e9792a5
Added HTTP_COOKIE and test cases.
...
Added WSF_COOKIE class, inherit from HTTP_COOKIE.
2015-03-13 15:28:38 -03: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
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
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)
2014-03-18 14:13:16 +01:00
ae0ba66416
Added comments, used better parameter names.
2014-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.
2014-03-17 18:10:55 +01:00
bbc2bab0eb
Removed usage of remote anchor types.
2014-02-28 14:25:13 +01:00
jvelilla
942db6d708
Fixed error with identity encoding.
2014-01-07 15:09:54 -03:00
637303930a
Removed trimmed_string function and callers, and for now, use (left_|right_)adjust
2013-10-24 17:33:27 +02:00
Jocelyn Fiat
78ee9872bd
Merge pull request #83 from jvelilla/master
...
Contracts, comments and cosmetic
2013-10-23 03:48:26 -07:00
4dd1731e60
Removed trimmed_string function and callers, and for now, use (left_|right_)adjust
2013-10-23 12:46:36 +02:00
jvelilla
2c2770b4f1
Reuse trimmed_string from HTTP_HEADER_UTILITIES.
...
Added description to FITNESS_AND_QUALITY.
2013-10-22 08:35:03 -03:00
ddd19023b0
Merge branch 'content_nego_review'
...
Conflicts:
library/network/protocol/content_negotiation/src/conneg_server_side.e
library/network/protocol/content_negotiation/src/parsers/common_accept_header_parser.e
library/network/protocol/content_negotiation/test/conneg_server_side_test.e
2013-10-18 21:30:10 +02:00
58dc2ec792
Updated README.md for conneg
2013-10-18 20:44:36 +02:00
88e6837222
Class renaming for content_negotiation
...
Splitted SERVER_CONTENT_NEGOTIATION in 4 differents classes for each kind of negotiation
Changed to use ITERABLE over LIST for supported variants arguments
Factorized some code for http parameter parsing such as q=1.0;note="blabla" and so on
Integrated within EWF
2013-10-18 16:18:22 +02:00
d376f99832
Updated content_negotiation with better class names and feature names.
...
Minor semantic changes in VARIANTS classes
Factorized some code in HTTP_ACCEPT_LANGUAGE
2013-10-15 23:19:12 +02:00
3072ce7dec
Enabled assertion on content_negotiation during autotests
...
The tests project is now void-safe
Using force instead of put_left seems to work fine
and is better for performance,
and no need to check for precondition "not before"
2013-10-14 18:54:36 +02:00
jvelilla
9a10e6f2a3
Merge pull request #80 from jvelilla/master
...
Fixed issue# 79 Bug in CONNEG_SERVER_SIDE
2013-10-04 06:29:25 -07:00
jvelilla
60d77892e5
Fixed issue# 79 Bug in CONNEG_SERVER_SIDE
2013-10-04 10:24:19 -03:00
jvelilla
f14728c1a7
Merge pull request #76 from jvelilla/master
...
Fixed Issue #75 CONNEG doesn't handle accept encodings correcty
2013-09-25 12:20:04 -07:00
jvelilla
295e6e9198
Added more scenarios to test accept encoding with identity.
2013-09-25 16:15:27 -03:00