Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1321 - 1330 of 1,758 for Request (0.22 sec)

  1. docs/pt/docs/advanced/security/oauth2-scopes.md

    Nós também declaramos um parâmetro especial do tipo `SecurityScopes`, importado de `fastapi.security`.
    
    A classe `SecurityScopes` é semelhante à classe `Request` (`Request` foi utilizada para obter o objeto da requisição diretamente).
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="9  106"
    {!> ../../docs_src/security/tutorial005_an_py310.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  2. cmd/kms-handlers_test.go

    	userSecretKey = "miniofakeusersecret"
    )
    
    type kmsTestCase struct {
    	name   string
    	method string
    	path   string
    	query  map[string]string
    
    	// User credentials and policy for request
    	policy string
    	asRoot bool
    
    	// Wanted in response.
    	wantStatusCode int
    	wantKeyNames   []string
    	wantResp       []string
    }
    
    func TestKMSHandlersCreateKey(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/first-steps.md

    ```Python hl_lines="7"
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Esto es una función de Python.
    
    Esta función será llamada por **FastAPI** cada vez que reciba un request en la URL "`/`" usando una operación `GET`.
    
    En este caso es una función `async`.
    
    ---
    
    También podrías definirla como una función estándar en lugar de `async def`:
    
    ```Python hl_lines="7"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. cmd/admin-handlers-users_test.go

    	req.Body = io.NopCloser(bytes.NewReader(buf))
    	req = signer.SignV4(*req, accessKey, secretKey, "", "")
    
    	// 3.1 Execute the request.
    	resp, err := s.TestSuiteCommon.client.Do(req)
    	if err != nil {
    		c.Fatalf("unexpected request err: %v", err)
    	}
    	if resp.StatusCode != 200 {
    		c.Fatalf("got unexpected response: %#v\n", resp)
    	}
    
    	// 3.2 check that user cannot delete the bucket
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  5. cmd/object-api-interface.go

    	UserDefined         map[string]string   // only set in case of POST/PUT operations
    	ObjectAttributes    map[string]struct{} // Attribute tags defined by the users for the GetObjectAttributes request
    	MaxParts            int                 // used in GetObjectAttributes. Signals how many parts we should return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. cmd/metacache.go

    	// we intentionally operate on a copy of m, so we can update without locks.
    	t := time.NewTicker(metacacheMaxClientWait / 10)
    	defer t.Stop()
    	for {
    		select {
    		case <-ctx.Done():
    			// Request is done, stop updating.
    			return
    		case <-t.C:
    			m.lastHandout = time.Now()
    
    			if m2, err := rpc.UpdateMetacacheListing(ctx, m); err == nil {
    				if m2.status != scanStateStarted {
    					if serverDebugLog {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java

                try (InputStream inputStream = form.protwordsFile.getInputStream()) {
                    file.update(inputStream);
                } catch (final IOException e) {
                    logger.warn("Failed to process a request.", e);
                    throwValidationError(messages -> messages.addErrorsFailedToUploadProtwordsFile(GLOBAL),
                            () -> redirectWith(getClass(), moreUrl("uploadpage/" + form.dictId)));
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

            flags = FLAG_ACK,
          )
          sink.flush()
        }
      }
    
      /**
       * HTTP/2 only. Send a push promise header block.
       *
       * A push promise contains all the headers that pertain to a server-initiated request, and a
       * `promisedStreamId` to which response frames will be delivered. Push promise frames are sent as
       * a part of the response to `streamId`. The `promisedStreamId` has a priority of one greater than
       * `streamId`.
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

      }
      return builder.build()
    }
    
    internal fun Headers.toHeaderList(): List<Header> =
      (0 until size).map {
        Header(name(it), value(it))
      }
    
    /** Returns true if an HTTP request for this URL and [other] can reuse a connection. */
    internal fun HttpUrl.canReuseConnectionFor(other: HttpUrl): Boolean =
      host == other.host &&
        port == other.port &&
        scheme == other.scheme
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/LoadingCache.java

       * loaded entries; it will never contain null keys or values.
       *
       * <p>Caches loaded by a {@link CacheLoader} will issue a single request to {@link
       * CacheLoader#loadAll} for all keys which are not already present in the cache. All entries
       * returned by {@link CacheLoader#loadAll} will be stored in the cache, over-writing any
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 8.3K bytes
    - Viewed (0)
Back to top