it just so happened that the site I was sending requests to had case-sensitive URLs if you can believe it