I want to send a GET requests that accept :application/rdf+xml header only.Is the following code right;\[code\] URLConnection connection = new URL(url + "?" + query).openConnection(); connection.setRequestProperty("Accept", "application/rdf+xml"); InputStream response = connection.getInputStream();\[/code\]