I don't know if sending the wrong content type results in this error message 
but you must send the proper content type header,  text/xml.

On Friday, October 08, 2010 03:57:33 pm Dennis Brundage wrote:
> I am just getting started with Solr and have successfully run through the
> tutorial.  I now have Solr up and running on Glassfish and decided to try a
> simple test to verify the ability to update the index, using the following
> HTML page:
> 
> <html>
> <head>
> </head>
> <body>
> <form action="http://localhost.:4747/solr/update";
> enctype="multipart/form-data" method="post">
> <input type="file">
> <input type="submit" value="Send">
> </form>
> </body>
> </html>
> 
> I selected one of the sample xml documents that is provided with the Solr
> install for my file.  When I submit the file, I get a "Missing Content
> Stream" error.  Note the "." after localhost just allows me to verify HTTP
> traffic using Fiddler.
> 
> Thanks in advance for any help,
> 
> Dennis

-- 
Markus Jelsma - CTO - Openindex
http://www.linkedin.com/in/markus17
050-8536600 / 06-50258350

Reply via email to