Specify contentType for $.mobile.changePage option

Specify contentType for $.mobile.changePage option

I am passing data to be posted to the server. However, since the server accept XML and JSON, I have to specify the contentType just like a regular jQuery ajax request. This is what I tried but did not work:

  1.     $.mobile.changePage('/Detail', {
            type: 'POST',
            contentType: 'application/json',
            data: {
                item: marker.item
            }
        });

Please allow an option to specify this.