Added HTTP code retrieval