Save xhtml response with .html extension
----------------------------------------

         Key: WT-278
         URL: http://webtest-community.canoo.com/jira/browse/WT-278
     Project: WebTest
        Type: Bug

    Versions: 2.1    
 Environment: WIndows XP Pro english; JDK 1.5.0_10
    Reporter: Thomas Kappen
 Attachments: webtest_R_1393_patch_mimeTypes.zip

Response with the xhtml mime types application/xhtml+xml and 
application/vnd.wap.xhtml+xml will be saved with the .xml extension. The more 
adequate extension is .html.

I have proposed two solutions in the attached patch. The first one adds the 
xhtml mime types to the DEFAULT_MAP, the second one midifies the 
getExtension(String) method.
Choose your preferred solution.

Kind Regards,
Thomas

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to