update in http error code handling
Added download() method
API Documentation update