Thread.current["req_id"] = e["HTTP_X_REQ_ID"] || UUID.generate @app.call(e).tap do |stat, head, body| headers["X-Req-Id"] = Thread.current["req_id"] end end end
Thread.current["req_id"] = e["HTTP_X_REQ_ID"] || UUID.generate @app.call(e).tap do |stat, head, body| headers["X-Req-Id"] = Thread.current["req_id"] end end end
Thread.current["req_id"] = e["HTTP_X_REQ_ID"] || UUID.generate @app.call(e).tap do |stat, head, body| headers["X-Req-Id"] = Thread.current["req_id"] end end end
Thread.current["req_id"] = e["HTTP_X_REQ_ID"] || UUID.generate @app.call(e).tap do |stat, head, body| headers["X-Req-Id"] = Thread.current["req_id"] end end end
Thread.current["req_id"] = e["HTTP_X_REQ_ID"] || UUID.generate @app.call(e).tap do |stat, head, body| headers["X-Req-Id"] = Thread.current["req_id"] end end end