GOALS? Feature Request: $.ajax(): Detect json via response header

GOALS? Feature Request: $.ajax(): Detect json via response header

<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">We're struggling with the best way to inform .ajax() that we expect
multiple data types. Either, with a setting like "auto" or by passing an
array of data types (or maybe allowing both).
</blockquote><div>
Perhaps it would help if we defined a list of goals. I'll start.
1. $.ajax() - if dataType has not been defined in the argument list, $.ajax() should respect the returned Content-type header and translate accordingly.
2. ....
Fill it in!
Rick
 </div>