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

#177 text/html support for servletrunner

open
Wolfgang Fahl
None
5
2008-11-05
2008-09-11
Anonymous
No

hi all,
it seems like there's no way so far to set the WebResponse's content-type when using ServletRunner.

HttpUnitOptions.setDefaultContentType() doesn't seem to work neither.

it would be really useful having HttpUnitOptions also configure ServletRunner responses.

thanks a lot.

----
Jacopo Franzoi, SourceSense

jacopo.franzoi@sourcesense.com

Discussion

  • Wolfgang Fahl
    Wolfgang Fahl
    2008-11-05

    Jacopo,

    thank you so much for your feature request feedback. I'll happily work on this issue based on a JUnit testcase showing the expected behaviour.

    Wolfgang

     
  • Wolfgang Fahl
    Wolfgang Fahl
    2008-11-05

    Dear httpunit user!

    Thank you for your feature request. We appreciate the time and effort you are putting into this.

    Please supply a testcase with the expected result for the feature you are asking for and we'll look into implementing it. For a start you might want to get the trunk version from the
    subversion repository (see https://sourceforge.net/svn/?group_id=6550\)
    and have a look at the source code of some of the more than 700 JUnit based testcase in there.

    When you are ready you might want to attach the testcase (and if you already have started implementing it also the actual code) to your feature request.

    This should give you a clue on what a proper testcase for httpunit looks like. The main communication about further details of the development is via the httpunit developer mailinglist. You are most welcome to sign up via
    https://lists.sourceforge.net/lists/listinfo/httpunit-develop

    Yours
    The httpunit developer team

    (Russell and Wolfgang as of 2008-03)

     
  • Wolfgang Fahl
    Wolfgang Fahl
    2008-11-05

    • assigned_to: nobody --> wolfgang_fahl