Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
Would be nice to have DeleteMethodWebRequest and OptionsMethodWebRequest so that REST APIs can be tested.
Logged In: YES
I was unable to get the current HEAD of SVN to work for me, but the code on the 1.6.2 tag did work. I implemented the two methods against that and they, so far, seem to work. Not all the test cases pass (even with a clean checkout), but these classes are relatively simple. Some refactoring of the servlet stuff may be needed as the HTTP methods are hardcoded in there.
File Added: new_methods.tgz
Implementations of the two methods
Logged In: YES
This feature is now in the subversion repository and will be included in the next release.
thank you for your feature request.
I've refactored the method handling so that setMethod is now available for HeaderOnlyWebRequest which is not abstract any more.
So creating a HeaderOnlyWebRequest and setting the method will work.
Would you please also give more details on your problems with the SVN trunk revision? We intend to release that version soon so feedback on it is most welcome.
Test failures on current HEAD
File Added: httpunit_failures.tgz
Attached the ant output. The problems I was having I think have resolved themselves. current HEAD was not working with java 1.4 in my environment. I was able to switch to 1.5 and it seems to be working now. Not sure what versions are supposed to be supported. The problem seemed to be a third party library dependency.