Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1031 - 1040 of 1,772 for request (0.06 sec)

  1. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

     *     .build();
     * OkHttpClient client = OkHttpClient.Builder()
     *     .certificatePinner(certificatePinner)
     *     .build();
     *
     * Request request = new Request.Builder()
     *     .url("https://" + hostname)
     *     .build();
     * client.newCall(request).execute();
     * ```
     *
     * As expected, this fails with a certificate pinning exception:
     *
     * ```java
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

         */
        @Override
        public void sign ( byte[] data, int offset, int length, CommonServerMessageBlock request, CommonServerMessageBlock response ) {
            if ( log.isTraceEnabled() ) {
                log.trace("Signing with seq " + this.signSequence);
            }
    
            ( (ServerMessageBlock) request ).setSignSeq(this.signSequence);
            if ( response != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 10.6K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

            Artifact pomArtifact = new DefaultArtifact(groupId, artifactId, "", "pom", version);
    
            try {
                ArtifactRequest request = new ArtifactRequest(pomArtifact, repositories, context);
                request.setTrace(trace);
                pomArtifact = resolver.resolveArtifact(session, request).getArtifact();
            } catch (ArtifactResolutionException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. internal/config/errors.go

    MINIO_STORAGE_CLASS_RRS: Format "EC:<Default_Parity_Reduced_Redundancy_Class>" (e.g. "EC:3"). This sets the number of parity drives for MinIO server in Reduced Redundancy mode. Objects are stored in Reduced Redundancy mode, if Put request specifies RRS storage class
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 16:57:01 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. .github/workflows/maven_build_itself.yml

    # under the License.
    
    name: Can Maven build itself
    
    on: [push, pull_request]
    
    # clear all permissions for GITHUB_TOKEN
    permissions: {}
    
    jobs:
      build:
    
        # execute on any push or pull request from forked repo
        if: github.event_name == 'push' || ( github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork )
    
        strategy:
          matrix:
            os: [ubuntu-latest, windows-latest]
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Jun 03 17:58:28 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/ClingSupport.java

    import org.codehaus.plexus.classworlds.ClassWorld;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * The CLI "new-gen".
     *
     * @param <O> the options type
     * @param <R> the request type
     */
    public abstract class ClingSupport<O extends Options, R extends InvokerRequest<O>> {
        static final String CORE_CLASS_REALM_ID = "plexus.core";
    
        protected final ClassWorld classWorld;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. internal/http/server_test.go

    	"net/http"
    	"reflect"
    	"testing"
    
    	"github.com/minio/pkg/v3/certs"
    )
    
    func TestNewServer(t *testing.T) {
    	nonLoopBackIP := getNonLoopBackIP(t)
    	handler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		fmt.Fprintf(w, "Hello, world")
    	})
    
    	testCases := []struct {
    		addrs   []string
    		handler http.Handler
    		certFn  certs.GetCertificateFunc
    	}{
    		{[]string{"127.0.0.1:9000"}, handler, nil},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 18:42:47 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/configuration/DefaultBeanConfigurationRequest.java

    import org.apache.maven.model.Model;
    import org.apache.maven.model.Plugin;
    import org.apache.maven.model.PluginExecution;
    import org.apache.maven.model.PluginManagement;
    
    /**
     * A basic bean configuration request.
     *
     */
    public class DefaultBeanConfigurationRequest implements BeanConfigurationRequest {
    
        private Object bean;
    
        private Object configuration;
    
        private String configurationElement;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. docs/en/docs/reference/exceptions.md

    When you raise an exception, as would happen with normal Python, the rest of the execution is aborted. This way you can raise these exceptions from anywhere in the code to abort a request and show the error to the client.
    
    You can use:
    
    * `HTTPException`
    * `WebSocketException`
    
    These exceptions can be imported directly from `fastapi`:
    
    ```python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 597 bytes
    - Viewed (0)
  10. istioctl/pkg/admin/istiodconfig.go

    	var scopeInfos []*ScopeInfo
    	resp, err := c.httpClient.Get(c.baseURL.String())
    	if err != nil {
    		return nil, err
    	}
    	defer resp.Body.Close()
    	if resp.StatusCode != http.StatusOK {
    		return nil, fmt.Errorf("request not successful %s", resp.Status)
    	}
    
    	err = json.NewDecoder(resp.Body).Decode(&scopeInfos)
    	if err != nil {
    		return nil, fmt.Errorf("cannot deserialize response %s", err)
    	}
    	return scopeInfos, nil
    }
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top