google/cloud/bigquery/client.py
def _get_upload_headers(user_agent):
    """Get the headers for an upload request.

    :type user_agent: str
    :param user_agent: The user-agent for requests.

    :rtype: dict
    :returns: The headers to be used for the request.
    """
    return {
        'Accept': 'application/json',
        'Accept-Encoding': 'gzip, deflate',
        'User-Agent': user_agent,
        'content-type': 'application/json',
    }
Get the headers for an upload request.

    :type user_agent: str
    :param user_agent: The user-agent for requests.

    :rtype: dict
    :returns: The headers to be used for the request.
    
Get the headers for an upload request.
Get the headers for an upload request .
def _get_upload_headers(user_agent):
    return {
        'Accept': 'application/json',
        'Accept-Encoding': 'gzip, deflate',
        'User-Agent': user_agent,
        'content-type': 'application/json',
    }
def _get_upload_headers ( user_agent ) : return { 'Accept' : 'application/json' , 'Accept-Encoding' : 'gzip, deflate' , 'User-Agent' : user_agent , 'content-type' : 'application/json' , }
Get the headers for an upload request.
Get the headers for an upload request .
"""Get the headers for an upload request.

    :type user_agent: str
    :param user_agent: The user-agent for requests.

    :rtype: dict
    :returns: The headers to be used for the request.
    """
The headers to be used for the request.
The headers to be used for the request .
dict
user_agent
The user-agent for requests.
The user - agent for requests .