Sean M. Burke wrote: > > At 08:23 PM 2001-08-13 +0900, Keiichiro Nagano wrote: > >[...] > >I think LWP::UserAgent->simple_request should be divided into 2 parts. > >First part modifies given HTTP::Request object according to > >UserAgent's properties. And second part simply send given > >HTTP::Request object. This has advantages as follows: [1] One can see > >the real content of the request before actual requesting. [2] One > >(maybe a skilled user) can send his/her HTTP::Request object > >untouched. [3] Friendly for inheritance from LWP::UserAgent. > > That sounds like an okay idea to me. > Did you come up with this idea because you needed to do something like send > an unprepared or specially prepared HTTP::Request object? I've wanted that sort of functionality for pedagogical reasons. I've often wanted to know how some aspect of a request gets translated into HTTP, but it's tricky to get in there and see what's going on inbetween. I don't have a compelling reason to know that information aside from the fact that my general understanding of all things web is improved when I know what's going on at different levels.
