What HTTP::Recorder does instead
HTTP::Recorder solves this problem by:
- Rewriting HTTP responses
- Un-doing its changes for resulting HTTP requests
To do this, it needs to know
- What the user did
- followed a link, submitted a form, etc.
- The values of the parameters
HTTP::Recorder overloads LWP::UserAgent's send_request method, which allows it to:
- see requests and responses as they come through
- modify the requests to add the additional information that it needs