File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,11 @@ def call(env)
9292 rack_res . finish
9393 end
9494
95+ protected
96+ def routing_tokens ( rack_req )
97+ nil # no-op for default, un-mapped rack adapter
98+ end
99+
95100 private
96101 def build_webmachine_request ( rack_req , headers )
97102 Webmachine ::Request . new ( rack_req . request_method ,
@@ -102,10 +107,6 @@ def build_webmachine_request(rack_req, headers)
102107 )
103108 end
104109
105- def routing_tokens ( rack_req )
106- nil # no-op for default, un-mapped rack adapter
107- end
108-
109110 class RackResponse
110111 ONE_FIVE = '1.5' . freeze
111112
@@ -179,6 +180,7 @@ def each
179180 end # class Rack
180181
181182 class RackMapped < Rack
183+ protected
182184 def routing_tokens ( rack_req )
183185 routing_match = rack_req . path_info . match ( Webmachine ::Request ::ROUTING_PATH_MATCH )
184186 routing_path = routing_match ? routing_match [ 1 ] : ""
You can’t perform that action at this time.
0 commit comments