You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2010/04/13 16:32:43 UTC
[Solr Wiki] Update of "ContentStream" by RobertMuir
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The "ContentStream" page has been changed by RobertMuir.
The comment on this change is: update trunk location.
http://wiki.apache.org/solr/ContentStream?action=diff&rev1=5&rev2=6
--------------------------------------------------
* The contents of parameter "stream.body" is passed as a stream.
* If remote streaming is enabled, the contents of each "stream.url" and "stream.file" parameters are fetched and passed as a stream
- If the contentType is "application/x-www-form-urlencoded" the full POST body is parsed as parameters and inlcuded in the [[http://svn.apache.org/repos/asf/lucene/solr/trunk/src/java/org/apache/solr/request/SolrParams.java|SolrParams]].
+ If the contentType is "application/x-www-form-urlencoded" the full POST body is parsed as parameters and inlcuded in the [[http://svn.apache.org/repos/asf/lucene/dev/trunk/solr/src/java/org/apache/solr/request/SolrParams.java|SolrParams]].
By default, curl sends a contentType="application/x-www-form-urlencoded" header. If you need to test a SolrRequestHandler content stream, you will need to set the content type with the "-H" flag. For example: