Updated HTTP_COOKIE class based on comments.

Added missing descriptions in test classes
This commit is contained in:
jvelilla
2015-03-17 17:00:07 -03:00
parent c4d362ff31
commit 9dc22bee24
4 changed files with 69 additions and 68 deletions

View File

@@ -325,19 +325,16 @@ feature -- Header add cookie
--| the same response with the same cookie-name.
local
l_same_cookie_name: BOOLEAN
l_cookie_header: STRING
l_cn: STRING
l_nv: STRING
do
across internal_header.headers as ic until l_same_cookie_name loop
across
internal_header.headers as ic
until l_same_cookie_name
loop
if ic.item.starts_with ("Set-Cookie") then
l_cookie_header := ic.item.twin
l_cookie_header.to_lower
l_cn := a_cookie.name
l_cn.to_lower
l_nv := l_cookie_header.split (';').at (1).split (':').at (2)
l_nv := ic.item.split (';').at (1).split (':').at (2)
l_nv.adjust
if l_nv.starts_with (l_cn) then
if l_nv.starts_with (a_cookie.name) then
l_same_cookie_name := True
end
end

View File

@@ -1,5 +1,9 @@
note
description: "Summary description for {WGI_RESPONSE_NULL}."
description: "[
Mock implementation of the WGI_RESPONSE interface.
Used for testing the ewf core and also web applications.
]"
date: "$Date$"
revision: "$Revision$"

View File

@@ -1,6 +1,9 @@
note
description: "Summary description for {WSF_SERVICE_NULL}."
author: ""
description: "[
Mock implementation of the WGI_SERVICE interface.
Used for testing the ewf core and also web applications
]"
date: "$Date$"
revision: "$Revision$"