Integrated new system to handle form_parameter, input_data in relation with MIME handling

This is not yet clear how to let the user precise its own MIME handler
but it is in progress
This commit is contained in:
Jocelyn Fiat
2011-12-01 19:12:26 +01:00
parent de38f46d1d
commit e70d67aed5
5 changed files with 592 additions and 218 deletions

View File

@@ -0,0 +1,27 @@
note
description: "Summary description for {WSF_MIME_HANDLER}."
author: ""
date: "$Date$"
revision: "$Revision$"
deferred class
WSF_MIME_HANDLER
feature -- Status report
valid_content_type (a_content_type: READABLE_STRING_8): BOOLEAN
deferred
end
feature -- Execution
handle (a_content_type: READABLE_STRING_8; a_content_length: NATURAL_64; req: WSF_REQUEST;
a_vars: TABLE [WSF_VALUE, READABLE_STRING_32]; a_raw_data: detachable CELL [detachable STRING_8])
-- Handle MIME content from request `req', eventually fill the `a_vars' (not yet available from `req')
-- and if `a_raw_data' is attached, store any read data inside `a_raw_data'
require
valid_content_type: valid_content_type (a_content_type)
deferred
end
end