lib/roda/response.rb in roda-3.55.0 vs lib/roda/response.rb in roda-3.56.0
- old
+ new
@@ -1,6 +1,11 @@
# frozen-string-literal: true
+begin
+ require 'rack/headers'
+rescue LoadError
+end
+
class Roda
# Base class used for Roda responses. The instance methods for this
# class are added by Roda::RodaPlugins::Base::ResponseMethods, the class
# methods are added by Roda::RodaPlugins::Base::ResponseClassMethods.
class RodaResponse