Search Options

Results per page
Sort
Preferred Languages
Advance

Results 981 - 990 of 1,772 for request (0.08 sec)

  1. internal/config/dns/operator_dns.go

    	// ErrNotImplemented - Indicates the functionality which is not implemented
    	ErrNotImplemented = errors.New("The method is not implemented")
    )
    
    func (c *OperatorDNS) addAuthHeader(r *http.Request) error {
    	if c.username == "" || c.password == "" {
    		return nil
    	}
    
    	claims := &jwt.StandardClaims{
    		ExpiresAt: int64(15 * time.Minute),
    		Issuer:    c.username,
    		Subject:   config.EnvDNSWebhook,
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. cmd/peer-rest-client.go

    			client.doListen(ctx, listenCh, v)
    			select {
    			case <-ctx.Done():
    				return
    			default:
    				// There was error in the REST request, retry after sometime as probably the peer is down.
    				time.Sleep(5 * time.Second)
    			}
    		}
    	}()
    }
    
    // Trace - send http trace request to peer nodes
    func (client *peerRESTClient) Trace(ctx context.Context, traceCh chan<- []byte, traceOpts madmin.ServiceTraceOpts) {
    	go func() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java

                        badWordService.exportCsv(writer);
                    } catch (final Exception e) {
                        logger.warn("Failed to process a request.", e);
                        throwValidationError(messages -> messages.addErrorsFailedToDownloadBadwordFile(GLOBAL), this::asDownloadHtml);
                    }
                    try (InputStream in = Files.newInputStream(tempFile)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. cmd/signature-v4_test.go

    		query := url.Values{}
    		for key, value := range testCase.queryParams {
    			query.Set(key, value)
    		}
    
    		// Create a request to use.
    		req, e := http.NewRequest(http.MethodGet, "http://host/a/b?"+query.Encode(), nil)
    		if e != nil {
    			t.Errorf("(%d) failed to create http.Request, got %v", i, e)
    		}
    
    		// Do the same for the headers.
    		for key, value := range testCase.headers {
    			req.Header.Set(key, value)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. manifests/addons/dashboards/istio-mesh.libsonnet

          panels.timeSeries.statPercent('Success Rate', queries.globalRequestSuccessRate, 'Total success rate of requests in the cluster'),
          panels.timeSeries.statRps('4xxs', queries.globalRequest4xx, 'Total 4xx requests in in the cluster'),
          panels.timeSeries.statRps('5xxs', queries.globalRequest5xx, 'Total 5xx requests in in the cluster'),
        ]),
      ], panelHeight=5)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 26 23:54:32 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/MultipartReaderTest.kt

            source = Buffer().writeUtf8(multipart),
          )
    
        val partAbc = parts.nextPart()!!
        val partMno = parts.nextPart()!!
    
        assertFailsWith<IllegalStateException> {
          partAbc.body.request(20)
        }.also { expected ->
          assertThat(expected).hasMessage("closed")
        }
    
        assertThat(partMno.body.readUtf8()).isEqualTo("mnop")
        assertThat(parts.nextPart()).isNull()
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

    import org.apache.maven.api.services.LookupException;
    import org.apache.maven.api.services.MessageBuilderFactory;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * Represents a request to parse Maven command-line arguments.
     * This interface encapsulates all the necessary information needed to parse
     * Maven commands and arguments into an {@link InvokerRequest}.
     *
     * @since 4.0.0
     */
    @Immutable
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 04 12:23:10 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. internal/config/subnet/subnet.go

    	if e != nil {
    		return "", e
    	}
    	r.Header.Add("Content-Type", writer.FormDataContentType())
    
    	return c.submitPost(r)
    }
    
    func (c Config) submitPost(r *http.Request) (string, error) {
    	configLock.RLock()
    	r.Header.Set(xhttp.SubnetAPIKey, c.APIKey)
    	configLock.RUnlock()
    	r.Header.Set(xhttp.MinioDeploymentID, xhttp.GlobalDeploymentID)
    
    	client := &http.Client{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 27 16:35:36 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. internal/grid/stream.go

    	responses <-chan Response
    	cancel    context.CancelCauseFunc
    
    	// Requests sent to the server.
    	// If the handler is defined with 0 incoming capacity this will be nil.
    	// Channel *must* be closed to signal the end of the stream.
    	// If the request context is canceled, the stream will no longer process requests.
    	// Requests sent cannot be used any further by the called.
    	Requests chan<- []byte
    
    	muxID uint64
    	ctx   context.Context
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployerRequest.java

    import org.apache.maven.api.annotations.Immutable;
    import org.apache.maven.api.annotations.Nonnull;
    
    import static org.apache.maven.api.services.BaseRequest.nonNull;
    
    /**
     * A request for deploying one or more artifacts to a remote repository.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface ArtifactDeployerRequest {
    
        @Nonnull
        Session getSession();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top