Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 80 for request_headers (0.26 sec)

  1. pkg/bootstrap/platform/aws.go

    func NewAWS(ipv6 bool) Environment {
    	headers := requestHeaders(ipv6)
    
    	return &awsEnv{
    		region:           getRegion(ipv6, headers),
    		availabilityZone: getAvailabilityZone(ipv6, headers),
    		instanceID:       getInstanceID(ipv6, headers),
    	}
    }
    
    func requestHeaders(ipv6 bool) map[string]string {
    	// try to get token first, if it fails, fallback to IMDSv1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 03:52:10 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/PushObserver.kt

       *
       * @param streamId server-initiated stream ID: an even number.
       * @param requestHeaders minimally includes `:method`, `:scheme`, `:authority`,
       * and `:path`.
       */
      fun onRequest(
        streamId: Int,
        requestHeaders: List<Header>,
      ): Boolean
    
      /**
       * The response headers corresponding to a pushed request.  When [last] is true, there are
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

       *     Corresponds to `FLAG_FIN`.
       */
      @Throws(IOException::class)
      fun newStream(
        requestHeaders: List<Header>,
        out: Boolean,
      ): Http2Stream {
        return newStream(0, requestHeaders, out)
      }
    
      @Throws(IOException::class)
      private fun newStream(
        associatedStreamId: Int,
        requestHeaders: List<Header>,
        out: Boolean,
      ): Http2Stream {
        val outFinished = !out
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/reqheader/ApiAdminReqheaderAction.java

    import org.codelibs.fess.app.web.api.ApiResult.ApiUpdateResponse;
    import org.codelibs.fess.app.web.api.ApiResult.Status;
    import org.codelibs.fess.app.web.api.admin.FessApiAdminAction;
    import org.codelibs.fess.es.config.exentity.RequestHeader;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.JsonResponse;
    
    /**
     * @author Keiichi Watanabe
     */
    public class ApiAdminReqheaderAction extends FessApiAdminAction {
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. samples/bookinfo/src/reviews/reviews-application/src/main/java/application/rest/LibertyRestEndpoint.java

        @Path("/reviews/{productId}")
        public Response bookReviewsById(@PathParam("productId") int productId, @Context HttpHeaders requestHeaders) {
          int starsReviewer1 = -1;
          int starsReviewer2 = -1;
    
          if (ratings_enabled) {
            JsonObject ratingsResponse = getRatings(Integer.toString(productId), requestHeaders);
            if (ratingsResponse != null) {
              if (ratingsResponse.containsKey("ratings")) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 15 22:25:32 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/exentity/WebConfig.java

            // request header
            final List<RequestHeader> requestHeaderList = requestHeaderService.getRequestHeaderList(getId());
            final List<org.codelibs.fess.crawler.client.http.RequestHeader> rhList = new ArrayList<>();
            for (final RequestHeader requestHeader : requestHeaderList) {
                rhList.add(requestHeader.getCrawlerRequestHeader());
            }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 09 09:48:04 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. pkg/controlplane/controller/clusterauthenticationtrust/cluster_authentication_trust_controller.go

    		data["requestheader-username-headers"], err = jsonSerializeStringSlice(authenticationInfo.RequestHeaderUsernameHeaders.Value())
    		if err != nil {
    			return nil, err
    		}
    		data["requestheader-group-headers"], err = jsonSerializeStringSlice(authenticationInfo.RequestHeaderGroupHeaders.Value())
    		if err != nil {
    			return nil, err
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. tests/integration/telemetry/policy/traffic_allow_any_test.go

    						"destination_service_name": "istio-egressgateway",
    						"response_code":            "200",
    					},
    				},
    				StatusCode: http.StatusOK,
    				Protocol:   "HTTP/1.1",
    				RequestHeaders: map[string]string{
    					// We inject this header in the VirtualService
    					"Handled-By-Egress-Gateway": "true",
    				},
    			},
    		},
    		{
    			Name:     "HTTP H2 Traffic Egress",
    			PortName: "http",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 18 18:03:23 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Cache.kt

          val requestHeaders = networkResponse!!.request.headers
          val responseHeaders = headers
          return varyHeaders(requestHeaders, responseHeaders)
        }
    
        /**
         * Returns the subset of the headers in [requestHeaders] that impact the content of the
         * response's body.
         */
        private fun varyHeaders(
          requestHeaders: Headers,
          responseHeaders: Headers,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  10. tests/integration/pilot/headers_test.go

    				"x-envoy-decorator-operation",
    			)
    
    			checkNoProxyHeaders := check.Each(func(response echoClient.Response) error {
    				for k, v := range response.RequestHeaders {
    					hn := strings.ToLower(k)
    					if allowedClientHeaders.Contains(hn) {
    						// This is allowed
    						continue
    					}
    					if proxyHeaders.Contains(hn) || strings.HasPrefix(hn, "x-") {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top