Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2321 - 2330 of 2,371 for Try (0.02 seconds)

  1. docs/pt/docs/how-to/custom-request-and-route.md

    ///
    
    Também podemos usar essa mesma abordagem para acessar o corpo da requisição em um manipulador de exceção.
    
    Tudo que precisamos fazer é manipular a requisição dentro de um bloco `try`/`except`:
    
    {* ../../docs_src/custom_request_and_route/tutorial002_an_py310.py hl[14,16] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  2. docs/de/docs/how-to/custom-request-and-route.md

    ///
    
    Wir können denselben Ansatz auch verwenden, um in einem Exceptionhandler auf den Requestbody zuzugreifen.
    
    Alles, was wir tun müssen, ist, den Request innerhalb eines `try`/`except`-Blocks zu handhaben:
    
    {* ../../docs_src/custom_request_and_route/tutorial002_an_py310.py hl[14,16] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  3. docs/fr/docs/how-to/custom-request-and-route.md

    ///
    
    Nous pouvons également utiliser cette même approche pour accéder au corps de la requête dans un gestionnaire d'exceptions.
    
    Il suffit de traiter la requête dans un bloc `try`/`except` :
    
    {* ../../docs_src/custom_request_and_route/tutorial002_an_py310.py hl[14,16] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  4. docs/es/docs/how-to/custom-request-and-route.md

    ///
    
    También podemos usar este mismo enfoque para acceder al request body en un manejador de excepciones.
    
    Todo lo que necesitamos hacer es manejar el request dentro de un bloque `try`/`except`:
    
    {* ../../docs_src/custom_request_and_route/tutorial002_an_py310.py hl[14,16] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  5. docs/debugging/xl-meta/main.go

    	m, err := readAndMap(files, 1, 0)
    	if err != nil {
    		return err
    	}
    	if m.blocks > 0 {
    		// TODO: Support multiple blocks. For now use -xver.
    		return fmt.Errorf("multiple blocks found, only one block supported. Try with -xver")
    	}
    	lastValid := 0
    	missing := 0
    	for i := range m.filled {
    		if m.filled[i] == 1 {
    			lastValid = i
    		} else {
    			missing++
    		}
    	}
    	if missing > 0 && len(m.parityData) > 0 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 40.4K bytes
    - Click Count (0)
  6. CHANGELOG/CHANGELOG-1.7.md

    * Allow attach of volumes to multiple nodes for vSphere ([#51066](https://github.com/kubernetes/kubernetes/pull/51066), [@BaluDontu](https://github.com/BaluDontu))
    * vSphere: Fix attach volume failing on the first try. ([#51217](https://github.com/kubernetes/kubernetes/pull/51217), [@BaluDontu](https://github.com/BaluDontu))
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu May 05 13:44:43 GMT 2022
    - 308.7K bytes
    - Click Count (1)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

      ) = cacheDir / "$key.$index.tmp"
    
      private fun readFile(file: Path): String =
        filesystem.read(file) {
          readUtf8()
        }
    
      private fun readFileOrNull(file: Path): String? =
        try {
          filesystem.read(file) {
            readUtf8()
          }
        } catch (_: FileNotFoundException) {
          null
        }
    
      fun writeFile(
        file: Path,
        content: String,
      ) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 59.4K bytes
    - Click Count (0)
  8. cmd/bucket-handlers.go

    				return
    			}
    
    			wantSize := int64(-1)
    			if actualSize >= 0 {
    				info := ObjectInfo{Size: actualSize}
    				wantSize = info.EncryptedSize()
    			}
    
    			// do not try to verify encrypted content/
    			hashReader, err = hash.NewReader(ctx, reader, wantSize, "", "", actualSize)
    			if err != nil {
    				writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    				return
    			}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 63.9K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

      }
    
      @Test
      fun readTimeouts() {
        // This relies on the fact that MockWebServer doesn't close the
        // connection after a response has been sent. This causes the client to
        // try to read more bytes than are sent, which results in a timeout.
        server.enqueue(
          MockResponse
            .Builder()
            .body("ABC")
            .clearHeaders()
            .addHeader("Content-Length: 4")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 133.3K bytes
    - Click Count (0)
  10. cmd/admin-handlers-users_test.go

    	}
    	if len(buckets) != 2 || buckets[0].Name != "bucket1" || buckets[1].Name != "bucket2" {
    		c.Fatalf("restricted service account should only have access to bucket1 and bucket2")
    	}
    
    	// Try to escalate privileges
    	restrictedAdmClient := s.getAdminClient(c, "restricted", "restricted123", "")
    	_, err = restrictedAdmClient.AddServiceAccount(ctx, madmin.AddServiceAccountReq{
    		AccessKey: "newroot",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 50.6K bytes
    - Click Count (0)
Back to Top