Require Version Check For Uploading Files
Require Version Check For Uploading Files

  Occasionally there will be updates to the Citrination API that
  are not backwards compatible. One such change is the requirement
  that requests to presigned URLs generated on the ruby host use
  the headers that indicate encryption and ACLs.

  In order to communicate to consumers of the API that a breaking change
  has been made, the ruby layer will now require the inclusion of the
  X-Citrination-Version header in all requests made to the API.

  The value of that version should be a semantic verion formatted string.
  A comparison is performed on the ruby server and if the version specified by
  the header is less than the minimum supported version defined by the
  Citrination deployment, the server will return a 400 (Bad Request) with a message indicating
  that the user needs to conform to the new version of the API.

  This commit adds methods to PyCC which wrap all outgoing HTTP requests in
  forwarding methods that inject a step into the request process that checks
  if the user needs to update PyCC. If it finds that the server is requiring
  a newer version, a friendly message will be printed, suggesting that the
  user check for PyCC updates.

CitrineInformatics/python-citrination-client