[
https://issues.apache.org/jira/browse/CONNECTORS-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16733851#comment-16733851
]
Julian Reschke commented on CONNECTORS-1564:
--------------------------------------------
> The proper approach to this, and this is how it has been done, like in Maven
> Wagon, is to use the {{Expect}} header. This works perfectly fine with a lot
> of clients and many servers, e.g. curl, HttpClient and Jetty, Tomcat.
I assume you mean "Expect: 100-continue"-
That still requires one round-trip, and AFAIR, it's not trivial to support
properly in servers due to API restrictions (in the past, servlet API, but that
might have improved).
> Support preemptive authentication to Solr connector
> ---------------------------------------------------
>
> Key: CONNECTORS-1564
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1564
> Project: ManifoldCF
> Issue Type: Improvement
> Components: Lucene/SOLR connector
> Reporter: Erlend GarĂ¥sen
> Assignee: Karl Wright
> Priority: Major
> Attachments: CONNECTORS-1564.patch
>
>
> We should post preemptively in case the Solr server requires basic
> authentication. This will make the communication between ManifoldCF and Solr
> much more effective instead of the following:
> * Send a HTTP POST request to Solr
> * Solr sends a 401 response
> * Send the same request, but with a "{{Authorization: Basic}}" header
> With preemptive authentication, we can send the header in the first request.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)