Hi,<div><br></div><div>I&#39;m trying to store requests that comes in (let&#39;s call it request A), and I want to be able to &quot;replay&quot; them later, when another query comes in with a specific argument (request B).</div>

<div>I can store the request to memcache, and get it back later. But I can&#39;t figure out how to recreate a query from a string.</div><div><br></div><div>The only way I can think about would be to use an upstream module with the create_request method, but I would like to avoid duplicating most of the proxy module,</div>

<div>and I don&#39;t necessarily want to send the saved query to an upstream.</div><div><br></div><div>So while processing request B, I get the saved request A as a string. Is there at that point a way to create a request from that string like if it was going through ngx_http_process_request_line() ?</div>

<div><br></div><div>Thank you,</div><div><br></div><div>Matthieu.</div><div><br>-- <br>Matthieu Tourne<br><br>
</div>