accept 'headers' option in v1 ajax