making all requests local to enable debug of doc_version upload