added raise httperror
Merge pull request #194 from Somesh/master

added raise httperror