lib/hanami/config/actions.rb in hanami-2.0.0.rc1 vs lib/hanami/config/actions.rb in hanami-2.0.0
- old
+ new
@@ -134,12 +134,9 @@
private
# Apply defaults for base config
def configure_defaults
- self.default_request_format = :html
- self.default_response_format = :html
-
self.default_headers = {
"X-Frame-Options" => "DENY",
"X-Content-Type-Options" => "nosniff",
"X-XSS-Protection" => "1; mode=block"
}