code: protected <T extends AbstractResource> void addStandardHeaders(URLConnection con, T resource) {
  		con.setRequestProperty("User-Agent", userAgent);
  		con.setRequestProperty("Accept", resource.getAcceptedTypes());
  	}
docs: Add all standard headers (User-Agent, Accept) to the URLConnection.