|
[HtmlUnit] [ htmlunit-Feature Requests-1204628 ] implement XMLHttpRequest.o: msg#00064java.htmlunit.devel
Feature Requests item #1204628, was opened at 2005-05-19 01:28 Message generated for change (Comment added) made by mguillem You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448269&aid=1204628&group_id=47038 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Priority: 5 Submitted By: Ray Suliteanu (raysuliteanu) Assigned to: Nobody/Anonymous (nobody) Summary: implement XMLHttpRequest.overrideMimeType Initial Comment: There are two differing descriptions of XMLHttpRequest, the one currently supported in version 1.6 described at http://developer.apple.com/internet/webcontent/xmlhttpreq.html and another one at http://xulplanet.com/references/objref/XMLHttpRequest.html. The latter has at least one additional method (I haven't done an exhaustive comparison) which therefore causes htmlunit to fail since it is not defined. Naturally I'm trying to test a page that uses it. Copying the description from the page ... void overrideMimeType ( AUTF8String mimetype ) Override the mime type returned by the server (if any). This may be used, for example, to force a stream to be treated and parsed as text/xml, even if the server does not report it as such. This must be done before the send method is invoked. Arguments: mimetype: The type used to override that returned by the server (if any). It would be nice if htmlunit supported this as well. ---------------------------------------------------------------------- >Comment By: Marc Guillemot (mguillem) Date: 2006-03-24 08:43 Message: Logged In: YES user_id=402164 I guess that it is not difficult to add. Can you provide a unit test? This would make the job easier for us because we wouldn't have both to implement and check if the implemented behavior is correct. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448269&aid=1204628&group_id=47038 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [HtmlUnit] @see -> {@inheritDoc}, Marc Guillemot |
|---|---|
| Next by Date: | Re: [HtmlUnit] @see -> {@inheritDoc}, Brad Clarke |
| Previous by Thread: | [HtmlUnit] [ htmlunit-Feature Requests-1204628 ] implement XMLHttpRequest.overrideMimeType, SourceForge.net |
| Next by Thread: | [HtmlUnit] @see -> {@inheritDoc}, Marc Guillemot |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |