Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,518 for REQUEST (0.05 sec)

  1. android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java

            throw e;
          }
        };
      }
    
      /** Returns a {@link CacheLoader} that returns the key for every request. */
      static <T> IdentityLoader<T> identityLoader() {
        return new IdentityLoader<T>();
      }
    
      /**
       * Returns a {@code new Object()} for every request, and increments a counter for every request.
       * The count is accessible via {@link #getCount}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. docs_src/behind_a_proxy/tutorial004.py

    from fastapi import FastAPI, Request
    
    app = FastAPI(
        servers=[
            {"url": "https://stag.example.com", "description": "Staging environment"},
            {"url": "https://prod.example.com", "description": "Production environment"},
        ],
        root_path="/api/v1",
        root_path_in_servers=False,
    )
    
    
    @app.get("/app")
    def read_main(request: Request):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 10 17:28:18 UTC 2020
    - 437 bytes
    - Viewed (0)
  3. test-site/app/models/ContentsCreator.java

                }
            }
        }
    
        protected void addSubLink(final Queue<String> queue, final String html, final HttpUriRequest request) {
            String schema = request.getURI().getScheme();
            String host = request.getURI().getHost();
            String originUri = request.getURI().toString();
    
            String h = html;
            final String tag = "<a href=\"";
            int linkPos;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Fri Nov 06 08:48:32 UTC 2015
    - 3.7K bytes
    - Viewed (0)
  4. tests/test_dependency_contextvars.py

        yield request_state
        legacy_request_state_context_var.reset(contextvar_token)
    
    
    @app.middleware("http")
    async def custom_middleware(
        request: Request, call_next: Callable[[Request], Awaitable[Response]]
    ):
        response = await call_next(request)
        response.headers["custom"] = "foo"
        return response
    
    
    @app.get("/user", dependencies=[Depends(set_up_request_state_dependency)])
    def get_user():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Feb 17 12:40:12 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  5. istioctl/pkg/authz/testdata/configdump.yaml

                 },
                 "custom_tags": [
                  {
                   "tag": "istio.authorization.dry_run.allow_policy.name",
                   "metadata": {
                    "kind": {
                     "request": {}
                    },
                    "metadata_key": {
                     "key": "envoy.filters.http.rbac",
                     "path": [
                      {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jun 21 14:20:23 UTC 2023
    - 206.7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultResolutionErrorHandler.java

                throw new ArtifactResolutionException(
                        "Unknown error during artifact resolution, " + request + ", " + result.getExceptions(),
                        request.getArtifact(),
                        request.getRemoteRepositories());
            }
        }
    
        private static <T> List<T> toList(Collection<T> items) {
            return (items != null) ? new ArrayList<>(items) : null;
        }
    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. cmd/encryption-v1_test.go

    }
    
    var decryptObjectMetaTests = []struct {
    	info    ObjectInfo
    	request *http.Request
    	expErr  error
    }{
    	{
    		info:    ObjectInfo{Size: 100},
    		request: &http.Request{Header: http.Header{}},
    		expErr:  nil,
    	},
    	{
    		info:    ObjectInfo{Size: 100, UserDefined: map[string]string{crypto.MetaAlgorithm: crypto.InsecureSealAlgorithm}},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 24 04:17:08 UTC 2022
    - 19.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/api/BaseApiManager.java

        }
    
        protected FormatType getFormatType(final HttpServletRequest request) {
            FormatType formatType = (FormatType) request.getAttribute(API_FORMAT_TYPE);
            if (formatType != null) {
                return formatType;
            }
    
            formatType = detectFormatType(request);
            request.setAttribute(API_FORMAT_TYPE, formatType);
            return formatType;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

      }
    
      @Test
      fun request() {
        val request: Request = Request.Builder().build()
        val isHttps: Boolean = request.isHttps
        val url: HttpUrl = request.url
        val method: String = request.method
        val headers: Headers = request.headers
        val header: String? = request.header("")
        val headersForName: List<String> = request.headers("")
        val body: RequestBody? = request.body
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

        if (networkRequest == null && cacheResponse == null) {
          return Response.Builder()
            .request(chain.request())
            .protocol(Protocol.HTTP_1_1)
            .code(HTTP_GATEWAY_TIMEOUT)
            .message("Unsatisfiable Request (only-if-cached)")
            .sentRequestAtMillis(-1L)
            .receivedResponseAtMillis(System.currentTimeMillis())
            .build().also {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Mar 22 07:09:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top