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.

Close

#172 Need Delete/OptionsMethodWebRequest

closed
Wolfgang Fahl
None
5
2008-05-13
2008-05-02
Dave Copeland
No

Would be nice to have DeleteMethodWebRequest and OptionsMethodWebRequest so that REST APIs can be tested.

Discussion

  • Dave Copeland
    Dave Copeland
    2008-05-02

    Logged In: YES
    user_id=751883
    Originator: 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

     
  • Dave Copeland
    Dave Copeland
    2008-05-02

    Implementations of the two methods

     
    Attachments
  • Wolfgang Fahl
    Wolfgang Fahl
    2008-05-13

    Logged In: YES
    user_id=1220573
    Originator: NO

    This feature is now in the subversion repository and will be included in the next release.

     
  • Wolfgang Fahl
    Wolfgang Fahl
    2008-05-13

    • assigned_to: nobody --> wolfgang_fahl
    • status: open --> closed
     
  • Dave Copeland
    Dave Copeland
    2008-05-13

    Test failures on current HEAD

     
    Attachments
  • Dave Copeland
    Dave Copeland
    2008-05-13

    Logged In: YES
    user_id=751883
    Originator: YES

    File Added: httpunit_failures.tgz

     
  • Dave Copeland
    Dave Copeland
    2008-05-13

    Logged In: YES
    user_id=751883
    Originator: YES

    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.