@require_http_methods(['GET'])
@require_existing_repo
@git_access_required
def get_info_refs(request, username, repository):

    requested_repo = Repo(Repo.get_repository_location(username, repository))
    response = GitResponse(service=request.GET['service'], action=GIT_ACTION_ADVERTISEMENT,
                    repository=requested_repo, data=None)

    return response.get_http_info_refs()
Responds to '/info/refs' requests for the given service, username and repository.
dataset/ETHPy150Open Djacket/djacket/core/backend/repository/views.py/get_info_refs