Menu

non-HTML document type? (file download)

Bob Stine
2003-11-05
2003-11-06
  • Bob Stine

    Bob Stine - 2003-11-05

    Our web app supports downloads by sending a content type that IE doesn't recognize, which triggers the Windoze "File Download" dialog. 

    When I try to test this functionality with HttpUnit, the WebResponse returned by the "WebForm.submit" method  is the same HTML page from which the request was generated, rather than the new non-HTML response.

    How can I get at the non-HTML response?

    Thanks.

     
    • Bob Stine

      Bob Stine - 2003-11-06

      My apologies; this was a case of operator error.  The server was actually generating an HTML response telling me that I hand not filled in mandatory fields.

      After I had HttpUnit set parameter values everywhere the app needs them, I was able to get a non-HTML response from the WebForm.submit() method.

       

Log in to post a comment.

Auth0 Logo