I found the answer. After about 3 hours of agonizing over it it turned out to be CASE some webservers are CASE SENSITVE about their urls and some are not. unfortunately in order to standardize another part of my program I was converting all the urls to .lower() un-believeable Thanks for your help -Justin