lib/timber/events/http_server_request.rb in timber-2.0.7 vs lib/timber/events/http_server_request.rb in timber-2.0.8
- old
+ new
@@ -11,10 +11,10 @@
def initialize(attributes)
@headers = Util::HTTPEvent.normalize_headers(attributes[:headers])
@host = attributes[:host] || raise(ArgumentError.new(":host is required"))
@method = Util::HTTPEvent.normalize_method(attributes[:method]) || raise(ArgumentError.new(":method is required"))
- @path = attributes[:path] || raise(ArgumentError.new(":path is required"))
+ @path = attributes[:path]
@port = attributes[:port]
@query_string = Util::HTTPEvent.normalize_query_string(attributes[:query_string])
@scheme = attributes[:scheme] || raise(ArgumentError.new(":scheme is required"))
@request_id = attributes[:request_id]
end
\ No newline at end of file