In my proxy controller (invoked from js) I have the code:
response = Net::HTTP.start(uri.host, uri.port) { |http|
http.request_post(uri.path, claim, { 'Content-type' => 'text/turtle' })
}
send_data(response.body, :type => response['content-type'],
:status => "#{response.code} #{response.message}")
But also want to return the response['location'] header field: any idea how I can do that as send_data options do not include that field?
Thanks,
Tony.
--
Tony Linde
Project Manager
Department of Physics & Astronomy
University of Leicester