code: private HttpURLConnection getRequest(String method, URL url) throws IOException {
  		HttpURLConnection connection;
  		if (proxy == null)
  			connection = (HttpURLConnection) url.openConnection();
  		else
  			connection = (HttpURLConnection) url.openConnection(proxy);
  		connection.setRequestMethod(method);
  		connection.setReadTimeout(config.getReadTimeout());
  		connection.setConnectTimeout(config.getConnectTimeout());
  		connection.setRequestProperty("Content-Type", "application/json");
  		connection.setRequestProperty("X-Ovh-Application", config.getApplicationKey());
  		return connection;
  	}
docs: Build an HTTP Request with customs headers (Content-Type, X-Ovh-Application)
  
  @param method
  @param url
  @return
  @throws IOException