lib/roda.rb in roda-3.69.0 vs lib/roda.rb in roda-3.70.0
- old
+ new
@@ -202,10 +202,10 @@
private
alias set_default_headers set_default_headers
def set_default_headers
- @headers['Content-Type'] ||= 'text/html'
+ @headers[RodaResponseHeaders::CONTENT_TYPE] ||= 'text/html'
end
end
end
if @middleware.empty? && use_new_dispatch_api?