RE: Solr throws 400 from proxy but returns fine from browser.

2015-07-31 Thread Mark Horninger
utput(true); con.connect(); int responseCode = con.getResponseCode(); /*--SNIP!--*/ -Original Message----- From: Mark Horninger Sent: Thursday, July 30, 2015 8:54 AM To: java-user@lucene.apache.org Subject: Solr throws 400 from proxy but returns fine from browser. Hi, I am

Solr throws 400 from proxy but returns fine from browser.

2015-07-30 Thread Mark Horninger
Hi, I am trying to work around a CORS issue on my app server side by standing up a proxy jsp in order to talk to Solr directly. It's really just a request forwarder at this point in time. The problem is that the same query I run through the proxy works fine through the browser, but when I run