lib/mixlib/authentication/http_authentication_request.rb in mixlib-authentication-3.0.1 vs lib/mixlib/authentication/http_authentication_request.rb in mixlib-authentication-3.0.4
- old
+ new
@@ -20,10 +20,10 @@
module Mixlib
module Authentication
class HTTPAuthenticationRequest
- MANDATORY_HEADERS = [:x_ops_sign, :x_ops_userid, :x_ops_timestamp, :host, :x_ops_content_hash]
+ MANDATORY_HEADERS = %i{x_ops_sign x_ops_userid x_ops_timestamp host x_ops_content_hash}.freeze
attr_reader :request
def initialize(request)
@request = request