On Jun 19, 2007, at 2:09 PM, Yonik Seeley wrote:
Or a Java bug?
http://www.innovation.ch/java/HTTPClient/urlcon_vs_httpclient.html
I'm not sure if it's possible to get the extra info with Java's
built-in HTTP client.
Spencer, does post.sh give you more error info?
Does for me, not very prettily but it does:
bwhitman$ ./post.sh test.xml
Posting file test.xml to http://localhost:8983/solr/update
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1"/>
<title>Error 400 </title>
</head>
<body><h2>HTTP ERROR: 400</h2><pre>ERROR:unknown field 'title'</pre>
<p>RequestURI=/solr/update</p><p><i><small><a href="http://
jetty.mortbay.org/">Powered by Jetty://</a></small></i></p><br/>
<br/>