lib/lamby/rack.rb in lamby-3.1.0 vs lib/lamby/rack.rb in lamby-3.1.1
- old
+ new
@@ -53,10 +53,10 @@
def env_headers
headers.transform_keys do |key|
"HTTP_#{key.to_s.upcase.tr '-', '_'}"
end.tap do |hdrs|
hdrs[HTTP_X_REQUESTID] = request_id
- hdrs[HTTP_X_REQUEST_START] = request_start if request_start
+ hdrs[HTTP_X_REQUEST_START] = "t=#{request_start}" if request_start
end
end
def content_type
headers.delete('Content-Type') || headers.delete('content-type') || headers.delete('CONTENT_TYPE')