support for PUT on cross domain