Add documentation for _parseAccept function