added HTTP status code retrival