updated checkDocVersion to now use requests