<commit_before>package org.intermine.webservice.client.core;

/*
 * Copyright (C) 2002-2011 FlyMine
 *
 * This code may be freely distributed and modified under the
 * terms of the GNU Lesser General Public Licence.  This should
 * be distributed with the code.  See the LICENSE file for more
 * information or http://www.gnu.org/copyleft/lesser.html.
 *
 */

import java.net.MalformedURLException;
import java.net.URL;

import org.apache.commons.codec.binary.Base64;
import org.apache.log4j.Logger;
import org.intermine.webservice.client.exceptions.ServiceException;
import org.intermine.webservice.client.util.HttpConnection;


/**
 * This class provides the base level common functionality required to access
 * any InterMine service. It is also designed to act as a base class that can be
 * customised for specific types of InterMine services. It encapsulates all protocol-level
 * interactions with the server.
 *
 * @author <NAME>
 **/
public class Service
{

    private static final String VERSION_HEADER = "InterMine-Version";

    private static final String USER_AGENT_HEADER = "User-Agent";

    private static final String AUTHENTICATION_FIELD_NAME = "Authorization";

    protected URL resourceUrl;<commit_msg>Removed logger<commit_after>package org.intermine.webservice.client.core;

/*
 * Copyright (C) 2002-2011 FlyMine
 *
 * This code may be freely distributed and modified under the
 * terms of the GNU Lesser General Public Licence.  This should
 * be distributed with the code.  See the LICENSE file for more
 * information or http://www.gnu.org/copyleft/lesser.html.
 *
 */

import java.net.MalformedURLException;
import java.net.URL;

import org.apache.commons.codec.binary.Base64;
import org.intermine.webservice.client.exceptions.ServiceException;
import org.intermine.webservice.client.util.HttpConnection;


/**
 * This class provides the base level common functionality required to access
 * any InterMine service. It is also designed to act as a base class that can be
 * customised for specific types of InterMine services. It encapsulates all protocol-level
 * interactions with the server.
 *
 * @author <NAME>
 **/
public class Service
{

    private static final String VERSION_HEADER = "InterMine-Version";

    private static final String USER_AGENT_HEADER = "User-Agent";

    private static final String AUTHENTICATION_FIELD_NAME = "Authorization";

    protected URL resourceUrl;
{'fraction_non_alphanumeric': 0.07771806531624638, 'fraction_numerical': 0.0086812732534105, 'mean_word_length': 4.318681318681318, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5835766', 'n_tokens_mistral': 681, 'n_tokens_neox': 653, 'n_words': 238}