Project

General

Profile

« Previous | Next » 

Revision 51259

Need to set the Accept header, not Content-Type

View differences:

VirtuosoParthenosIterator.java
169 169

  
170 170
	protected ResponseEntity<String> getRDF(final String subjectURL) throws URISyntaxException {
171 171
		HttpHeaders headers = new HttpHeaders();
172
		headers.setContentType(MediaType.APPLICATION_XML);
172
		headers.setAccept(Lists.newArrayList(MediaType.APPLICATION_XML));
173 173
		URI uri = getURIForRDFRequest(subjectURL);
174 174
		log.debug("fillQueue -- Calling for subject RDF: " + uri.toString());
175 175
		HttpEntity<String> entity = new HttpEntity<>("parameters", headers);

Also available in: Unified diff