Use HTTP_HEADER instead of WSF_HEADER

(WSF_HEADER is kept for convenience and existing code)
This commit is contained in:
Jocelyn Fiat
2011-11-25 15:53:15 +01:00
parent 48d4d26cda
commit 42be0b2a4e
12 changed files with 29 additions and 27 deletions

View File

@@ -84,7 +84,7 @@ feature -- Execution
execute_default (req: WSF_REQUEST; res: WSF_RESPONSE)
local
h: WSF_HEADER
h: HTTP_HEADER
l_url: STRING
e: EXECUTION_ENVIRONMENT
n: INTEGER
@@ -171,7 +171,7 @@ feature -- Execution
execute_hello (req: WSF_REQUEST; res: WSF_RESPONSE; a_name: detachable READABLE_STRING_32; ctx: REQUEST_HANDLER_CONTEXT)
local
l_response_content_type: detachable STRING
h: WSF_HEADER
h: HTTP_HEADER
content_type_supported: ARRAY [STRING]
l_body: STRING_8
do

View File

@@ -76,7 +76,7 @@ feature -- HTTP Methods
compute_response_get (ctx: C; req: WSF_REQUEST; res: WSF_RESPONSE; l_order : ORDER)
local
h: WSF_HEADER
h: HTTP_HEADER
l_msg : STRING
etag_utils : ETAG_UTILS
do
@@ -152,7 +152,7 @@ feature -- HTTP Methods
compute_response_put (ctx: C; req: WSF_REQUEST; res: WSF_RESPONSE; l_order : ORDER)
local
h: WSF_HEADER
h: HTTP_HEADER
joc : JSON_ORDER_CONVERTER
etag_utils : ETAG_UTILS
do
@@ -205,7 +205,7 @@ feature -- HTTP Methods
compute_response_delete (ctx: C; req: WSF_REQUEST; res: WSF_RESPONSE)
local
h : WSF_HEADER
h : HTTP_HEADER
do
create h.make
h.put_status ({HTTP_STATUS_CODE}.no_content)
@@ -241,7 +241,7 @@ feature -- HTTP Methods
compute_response_post (ctx: C; req: WSF_REQUEST; res: WSF_RESPONSE; l_order : ORDER)
local
h: WSF_HEADER
h: HTTP_HEADER
l_msg : STRING
l_location : STRING
joc : JSON_ORDER_CONVERTER

View File

@@ -48,7 +48,7 @@ feature -- Execution
-- in the case that the given uri does not have a corresponding http method
-- to handle it.
local
h : WSF_HEADER
h : HTTP_HEADER
l_description : STRING
l_api_doc : STRING
do