code: def post(self, query):
          
          res, response = self._do_post(query)
          cookies = res.getheader('Set-Cookie', None)
          if len(response) == 0 and cookies is not None and res.status == 200:
              logging.debug('Got 0-length 200 response with Set-Cookies header; '
                            'retrying request with cookies')
              _, response = self._do_post(query, [('Cookie', cookies)])
          return response
docs: Wrapper around ``_do_post()`` to handle accounts that require
          sending back session cookies (``self.set_cookies`` True).