david-caro/python-foreman — pull request #21 by machalekj (2014-10-23 10:17:08+00:00)
Title: fix getting version from home page with bad HTTP headers

This small change fixes get_foreman_version method by not getting home page with session, which has HTTP headers for accepting just JSON, but instead with requests.get method. This fixed our issue with Foreman class initialization.