handled bad request.
Merge branch 'master' of https://github.com/photon-infotech/framework