Open jrubinator opened 5 years ago
@xdg - do you have any opinion on this?
Hi. I'm not actively doing Perl development on this module, so I have to abstain, as I wouldn't be responsible for reviewing or merging.
Ah, is @chansen the correct person to ask now?
@chansen any thoughts?
This isn't a vote one way or another, but just an observation -- adding hooks would make this module less tiny. LWP::UserAgent already supports hooks, so you might find your usecase better served there.
Another possibility could be intercepting the data written to the output handle, which would be a way to address debugging needs like #123.
I have a use case for logging some information about the request (what headers were actually sent). Does adding a hook/callback just before
$handle->write_request($request);
sound reasonable? If so, I can submit a patch for that.