added code attribute to response obj in urlretrieve
Merge pull request #22 from kaitlin/master

added code attribute to response obj in urlretrieve