If-Match implemented in skeleton handler

This commit is contained in:
Colin Adams
2013-04-13 14:48:28 +01:00
parent 3997efcd2d
commit b4ab4875fc
4 changed files with 116 additions and 2 deletions

View File

@@ -249,10 +249,46 @@ feature -- Access: HTTP_* CGI meta parameters - 1.1
end
http_if_match: detachable READABLE_STRING_8
-- Existance check on resource
-- Existence check on resource
do
Result := meta_string_variable ({WGI_META_NAMES}.http_if_match)
end
http_if_modified_since: detachable READABLE_STRING_8
-- Modification check on resource
do
Result := meta_string_variable ({WGI_META_NAMES}.http_if_modified_since)
end
http_if_none_match: detachable READABLE_STRING_8
-- Existence check on resource
do
Result := meta_string_variable ({WGI_META_NAMES}.http_if_none_match)
end
http_if_range: detachable READABLE_STRING_8
-- Range check on resource
do
Result := meta_string_variable ({WGI_META_NAMES}.http_if_range)
end
http_if_unmodified_since: detachable READABLE_STRING_8
-- Modification check on resource
do
Result := meta_string_variable ({WGI_META_NAMES}.http_if_unmodified_since)
end
http_last_modified: detachable READABLE_STRING_8
-- Modification time of resource
do
Result := meta_string_variable ({WGI_META_NAMES}.http_last_modified)
end
http_range: detachable READABLE_STRING_8
-- Requested byte-range of resource
do
Result := meta_string_variable ({WGI_META_NAMES}.http_range)
end
feature -- Access: Extension to CGI meta parameters - 1.1