summaryrefslogtreecommitdiff
path: root/report/report_format.rb
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2010-10-06 12:09:08 +0200
committermguetlein <martin.guetlein@gmail.com>2010-10-06 12:09:08 +0200
commitf72a88dcb8fd18778445b4e6678cdfdee7feda28 (patch)
tree84c65896bf2a049db5b48f4dabd2b6e2b6a3b646 /report/report_format.rb
parent18e1ec84378d711b36b1a77b29baa9b5ef664faa (diff)
add text/html support, remove delete disabling, add new line to uri-list returns
Diffstat (limited to 'report/report_format.rb')
-rw-r--r--report/report_format.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/report/report_format.rb b/report/report_format.rb
index 29d67d7..e61d9be 100644
--- a/report/report_format.rb
+++ b/report/report_format.rb
@@ -14,7 +14,6 @@ module Reports::ReportFormat
# returns report-format, according to header value
def self.get_format(accept_header_value)
- return "text/html" if accept_header_value =~ /\*\/\*/
begin
content_type = MIMEParse::best_match(CONTENT_TYPES, accept_header_value)
raise RuntimeException.new unless content_type