With HtmlUnit 2.5 jQuery code: $.ajax({url: '/ajax', dataType: 'script'});
sets proper request header: Accept: text/javascript, application/javascript, /
With HtmlUnit 2.6 it is always Accept: /
Thanks for the small case, fixed in SVN
Log in to post a comment.
Thanks for the small case, fixed in SVN