be sure we got the full content same as content length
This commit is contained in:
@@ -52,6 +52,7 @@ feature {NONE} -- Implementation: Form analyzer
|
||||
require
|
||||
a_content_type_valid: a_content_type /= Void and not a_content_type.has_error
|
||||
s_attached: s /= Void
|
||||
same_content_length: req.content_length_value = s.count
|
||||
vars_attached: vars /= Void
|
||||
local
|
||||
p,i,next_b: INTEGER
|
||||
@@ -233,7 +234,7 @@ feature {NONE} -- Implementation: Form analyzer
|
||||
-- Default content type
|
||||
|
||||
note
|
||||
copyright: "2011-2012, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Eiffel Software and others"
|
||||
copyright: "2011-2013, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Eiffel Software and others"
|
||||
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
||||
source: "[
|
||||
Eiffel Software
|
||||
|
||||
@@ -10,6 +10,9 @@ class
|
||||
|
||||
inherit
|
||||
WSF_VALUE
|
||||
redefine
|
||||
debug_output
|
||||
end
|
||||
|
||||
create
|
||||
make
|
||||
@@ -31,6 +34,23 @@ feature -- Access
|
||||
|
||||
url_encoded_name: READABLE_STRING_8
|
||||
|
||||
feature -- Status report
|
||||
|
||||
debug_output: STRING
|
||||
-- String that should be displayed in debugger to represent `Current'.
|
||||
do
|
||||
Result := Precursor
|
||||
if
|
||||
exists and then
|
||||
attached tmp_name as n
|
||||
then
|
||||
Result.append_character (' ')
|
||||
Result.append_character ('%"')
|
||||
Result.append (n)
|
||||
Result.append_character ('%"')
|
||||
end
|
||||
end
|
||||
|
||||
feature -- Element change
|
||||
|
||||
change_name (a_name: like name)
|
||||
|
||||
Reference in New Issue
Block a user