Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for mcurl (0.02 sec)

  1. src/test/java/org/codelibs/curl/CurlTest.java

            final CurlRequest postRequest = Curl.post(emptyUrl);
            final CurlRequest putRequest = Curl.put(emptyUrl);
            final CurlRequest deleteRequest = Curl.delete(emptyUrl);
            final CurlRequest headRequest = Curl.head(emptyUrl);
            final CurlRequest optionsRequest = Curl.options(emptyUrl);
            final CurlRequest connectRequest = Curl.connect(emptyUrl);
    
            // ## Assert ##
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

     */
    package org.codelibs.curl.io;
    
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertFalse;
    import static org.junit.Assert.assertNotNull;
    import static org.junit.Assert.assertTrue;
    
    import java.io.File;
    import java.io.IOException;
    
    import org.codelibs.curl.Curl;
    import org.junit.Test;
    
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Wed Nov 12 14:01:04 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

          Request
            .Builder()
            .url("https://example.com")
            .header("Authorization", "Bearer abc123")
            .build()
    
        val curl = request.toCurl()
        assertThat(curl)
          .isEqualTo(
            """
            |curl 'https://example.com/' \
            |  -H 'Authorization: Bearer abc123'
            """.trimMargin(),
          )
      }
    
      @Test
      fun curlPostWithBody() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:36:14 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  4. maven-tests/mvnw

    elif [ -z "${MVNW_USERNAME-}" ] && command -v curl >/dev/null; then
      verbose "Found curl ... using curl"
      curl ${__MVNW_QUIET_CURL:+"$__MVNW_QUIET_CURL"} -f -L -o "$TMP_DOWNLOAD_DIR/$distributionUrlName" "$distributionUrl" || die "curl: Failed to fetch $distributionUrl"
    elif set_java_home; then
      verbose "Falling back to use Java to download"
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Sep 25 18:22:49 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. MIGRATION.md

    **Example - Create Web Crawl Config**:
    ```bash
    curl -X POST "http://localhost:8080/api/admin/webconfig" \
      -H "Content-Type: application/json" \
      -u admin:admin \
      -d '{
        "name": "Example Site",
        "urls": "http://example.com/",
        "depth": 3,
        "maxAccessCount": 1000,
        "userAgent": "Fess Crawler"
      }'
    ```
    
    ### 3. Command-Line Import
    
    **Using curl with bulk files**:
    
    ```bash
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 12:40:11 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

    import static org.junit.Assert.fail;
    
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.file.Files;
    
    import org.codelibs.curl.Curl;
    import org.junit.After;
    import org.junit.Test;
    
    /**
     * Test class for ContentCache.
     * Tests memory-based and file-based content caching.
     */
    public class ContentCacheTest {
    
        private File tempFile;
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/PluginHelper.java

    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.io.CopyUtil;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.curl.Curl;
    import org.codelibs.curl.CurlRequest;
    import org.codelibs.curl.CurlResponse;
    import org.codelibs.fess.crawler.Constants;
    import org.codelibs.fess.exception.PluginException;
    import org.codelibs.fess.util.ComponentUtil;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  8. .teamcity/mvnw

            fi
        elif command -v curl > /dev/null; then
            if [ "$MVNW_VERBOSE" = true ]; then
              echo "Found curl ... using curl"
            fi
            if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
                curl -o "$wrapperJarPath" "$jarUrl" -f
            else
                curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f
            fi
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 9.8K bytes
    - Viewed (0)
  9. mvnw

        fi
      elif command -v curl >/dev/null; then
        log "Found curl ... using curl"
        [ "$MVNW_VERBOSE" = true ] && QUIET="" || QUIET="--silent"
        if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
          curl $QUIET -o "$wrapperJarPath" "$wrapperUrl" -f -L || rm -f "$wrapperJarPath"
        else
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Oct 14 22:24:15 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

          }
    
        open fun build(): Request = Request(this)
      }
    
      /**
       * Returns a cURL command equivalent to this request, useful for debugging and reproducing
       * requests.
       *
       * This includes the HTTP method, headers, request body (if present), and URL.
       *
       * Example:
       *
       * ```
       * curl 'https://example.com/api' \
       *   -X PUT \
       *   -H 'Authorization: Bearer token' \
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 13:46:58 UTC 2025
    - 14.7K bytes
    - Viewed (1)
Back to top