'Retrieve the diff for this comparison.
:returns: the diff as a bytes object
:rtype: bytes'

def diff(self):

    resp = self._get(self._api, headers={u'Accept': u'application/vnd.github.diff'})
    return (resp.content if self._boolean(resp, 200, 404) else '')
