Renamed same_media_type as same_simple_type

Added comments
This commit is contained in:
Jocelyn Fiat
2012-03-23 19:00:49 +01:00
parent ed200b93dd
commit 874677ab7a
3 changed files with 18 additions and 11 deletions

View File

@@ -16,7 +16,7 @@ feature -- Status report
valid_content_type (a_content_type: HTTP_CONTENT_TYPE): BOOLEAN
do
Result := a_content_type.same_media_type ({HTTP_MIME_TYPES}.application_x_www_form_encoded)
Result := a_content_type.same_simple_type ({HTTP_MIME_TYPES}.application_x_www_form_encoded)
end
feature -- Execution

View File

@@ -26,7 +26,7 @@ feature -- Status report
valid_content_type (a_content_type: HTTP_CONTENT_TYPE): BOOLEAN
do
Result := a_content_type.same_media_type ({HTTP_MIME_TYPES}.multipart_form_data)
Result := a_content_type.same_simple_type ({HTTP_MIME_TYPES}.multipart_form_data)
end
feature -- Execution