Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 220 for httpHost (0.13 sec)

  1. pkg/test/framework/components/authz/kubelocal.go

    	return map[string]any{
    		"httpName": s.httpName(),
    		"grpcName": s.grpcName(),
    		"httpHost": s.httpHost(),
    		"grpcHost": s.grpcHost(),
    		"httpPort": httpPort,
    		"grpcPort": grpcPort,
    	}
    }
    
    func (s *localServerImpl) installProviders(ctx resource.Context) error {
    	// Update the mesh config extension provider for the ext-authz service.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

            final HttpPost httpPost = new HttpPost(url);
            final HttpEntity postEntity = MultipartEntityBuilder.create().setMode(HttpMultipartMode.BROWSER_COMPATIBLE)
                    .setCharset(Charset.forName("UTF-8")).addBinaryBody("filedata", in).build();
            httpPost.setEntity(postEntity);
    
            try (CloseableHttpResponse response = httpClient.execute(httpPost)) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpClientConfigurer.java

                if (alwaysSendAuth || requestMethod.equals(HttpPut.METHOD_NAME) || requestMethod.equals(HttpPost.METHOD_NAME)) {
                    CredentialsProvider credentialsProvider = (CredentialsProvider) context.getAttribute(HttpClientContext.CREDS_PROVIDER);
                    HttpHost targetHost = (HttpHost) context.getAttribute(HttpCoreContext.HTTP_TARGET_HOST);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                    credentialsProvider.setCredentials(authScope, authentication.getCredentials());
                    if (authScope.getHost() != null && authScheme != null) {
                        final HttpHost targetHost = new HttpHost(authScope.getHost(), authScope.getPort());
                        authCache.put(targetHost, authScheme);
                    }
                }
            }
    
            httpClientContext.setAuthCache(authCache);
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu May 09 09:28:25 UTC 2024
    - 41K bytes
    - Viewed (0)
  5. src/net/http/httptest/httptest.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package httptest provides utilities for HTTP testing.
    package httptest
    
    import (
    	"bufio"
    	"bytes"
    	"context"
    	"crypto/tls"
    	"io"
    	"net/http"
    	"strings"
    )
    
    // NewRequest wraps NewRequestWithContext using context.Background.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 18:09:14 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. src/net/http/cgi/child_test.go

    // Tests for CGI (the child process perspective)
    
    package cgi
    
    import (
    	"bufio"
    	"bytes"
    	"net/http"
    	"net/http/httptest"
    	"strings"
    	"testing"
    )
    
    func TestRequest(t *testing.T) {
    	env := map[string]string{
    		"SERVER_PROTOCOL": "HTTP/1.1",
    		"REQUEST_METHOD":  "GET",
    		"HTTP_HOST":       "example.com",
    		"HTTP_REFERER":    "elsewhere",
    		"HTTP_USER_AGENT": "goclient",
    		"HTTP_FOO_BAR":    "baz",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 14 15:42:03 UTC 2020
    - 5.2K bytes
    - Viewed (0)
  7. src/net/http/cgi/host_test.go

    	httpreq string,
    	expectedMap map[string]string, checks ...func(reqInfo map[string]string)) *httptest.ResponseRecorder {
    	rw := httptest.NewRecorder()
    	req := newRequest(httpreq)
    	h.ServeHTTP(rw, req)
    	runResponseChecks(t, rw, expectedMap, checks...)
    	return rw
    }
    
    func runResponseChecks(t *testing.T, rw *httptest.ResponseRecorder,
    	expectedMap map[string]string, checks ...func(reqInfo map[string]string)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 18:29:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. src/net/http/cgi/integration_test.go

    // their environment to figure out what mode to run in.
    
    package cgi
    
    import (
    	"bytes"
    	"errors"
    	"fmt"
    	"internal/testenv"
    	"io"
    	"net/http"
    	"net/http/httptest"
    	"net/url"
    	"os"
    	"strings"
    	"testing"
    )
    
    // This test is a CGI host (testing host.go) that runs its own binary
    // as a child process testing the other half of CGI (child.go).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 18:42:44 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

                    final HttpPost httpPost = new HttpPost(tokenUrl);
                    if (StringUtil.isNotBlank(tokenReqParams)) {
                        final HttpEntity httpEntity = parseRequestParameters(tokenReqParams, null, encoding);
                        httpPost.setEntity(httpEntity);
                    }
                    httpRequest = httpPost;
                } else {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. operator/pkg/translate/strategic_port_merge_test.go

    			overlayPorts:        []*v1.ServicePort{httpsPort, httpPort},
    			expectedMergedPorts: []*v1.ServicePort{istioHealthcheckPort, httpsPort, httpPort},
    		},
    		{
    			name:                "metrics port is present",
    			basePorts:           []*v1.ServicePort{istioMetricsPort, httpsPort, httpPort},
    			overlayPorts:        []*v1.ServicePort{httpsPort, httpPort},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 21 03:06:37 UTC 2021
    - 6.2K bytes
    - Viewed (0)
Back to top