Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-7405

Update ref guide curl examples to eliminate Content-Type

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: documentation
    • Labels:
      None

      Description

      SOLR-7217 added a special work arround to solr to autodetect the correct content-type if the user-agent indicates curl is in use and the content-type specified is the curl default ("application/x-www-form-urlencoded")

      while this is certianly a nice to have convenience for people who forget to specify a Content-Type when using curl, there was quite a bit of back and forth on the ref guide TODO page about wether all example curl calls in the ref guide should explicitly take advantage of this for brevity.

      I'm opening this issue in the interest of having a more structured place for this discussion.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                hossman Chris M. Hostetter
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: