support dict as response handler, use json content-type, veil.js support json error process and normal widget error process: the content-type of response