Susa, I think you are six days too late. Vincent Massol committed a bunch of changes to do something very similar to this last weekend - check out the CVS commits and or the nightly builds since October 20th,
Kevin Jones Developmentor www.develop.com > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: 25 October 2001 10:52 > To: [EMAIL PROTECTED] > Subject: test servlet using HttpServletRequest#getReader() > > > Hi, > > I have modified Cactus code to test a servlet using > HttpServletRequest#getReader(). > > I think this task have not been implemented yet. > > How do I report this? or is it not necessary? > > please advise me. > > > [Plan] > 1. Cactus parameters move from EntityBody to HttpHeader. > 2. Add method to get/set byte[] in WebRequest. > > reason... > HttpHeader is not so important compared with QueryString and EntityBody. > If several httpheader are added, I think that application (we' ve > developped) is not so affected by it. > > [Results] > I can test a servlet using HttpServletRequest.getReader(). > Maybe HttpServletRequest.getInputStream(),too. > > [http request Image] > before: > ================================ > requestLine > ================================ > HttpHeader > ================================ > EntityBoby & cactus paramter > ================================ > > after: > ================================ > requestLine > ================================ > HttpHeader > ------------------------------- > cactus paramter > ================================ > EntityBobycactus paramter > ================================ > > - - - - - - - - - - - - - - - - - - - - - - - > If you would, revise me, please. > > SUSA Tadahiro > [EMAIL PROTECTED] > - - - - - - - - - - - - - - - - - - - - - - - > >
