I am sure about it is not possible with AJAX but I am confused with non ajax call.
For example:
I want to set custom headers such as x-requested-by:somevalue for non-ajax call (i.e. content-type=multipart/form-data) from client side. Is it possible with JS code?