Added HTTP_MEDIA_TYPE (maybe it will just replace the HTTP_CONTENT_TYPE later)
renamed .media_type as .simple_type for now allow more than one parameters
This commit is contained in:
@@ -62,7 +62,7 @@ feature {NONE} -- Implementation: Form analyzer
|
||||
is_crlf: BOOLEAN
|
||||
do
|
||||
l_boundary := a_content_type.parameter ("boundary")
|
||||
if l_boundary /= Void then
|
||||
if l_boundary /= Void and then not l_boundary.is_empty then
|
||||
p := s.substring_index (l_boundary, 1)
|
||||
if p > 1 then
|
||||
l_boundary_prefix := s.substring (1, p - 1)
|
||||
|
||||
Reference in New Issue
Block a user