add statusCode
Merge pull request #14 from jifeng/add_status_code

add statusCode