Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 985 for Encode (0.07 sec)

  1. docs/de/docs/advanced/response-change-status-code.md

    # Response – Statuscode ändern
    
    Sie haben wahrscheinlich schon vorher gelesen, dass Sie einen Standard-[Response-Statuscode](../tutorial/response-status-code.md){.internal-link target=_blank} festlegen können.
    
    In manchen Fällen müssen Sie jedoch einen anderen als den Standard-Statuscode zurückgeben.
    
    ## Anwendungsfall
    
    Stellen Sie sich zum Beispiel vor, Sie möchten standardmäßig den HTTP-Statuscode „OK“ `200` zurückgeben.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. docs/ru/docs/advanced/response-change-status-code.md

    # Response - Изменение cтатус кода
    
    Вы, вероятно, уже читали о том, что можно установить [Состояние ответа по умолчанию](../tutorial/response-status-code.md){.internal-link target=_blank}.
    
    Но в некоторых случаях вам нужно вернуть код состояния, отличный от установленного по умолчанию.
    
    ## Пример использования
    
    Например, представьте, что вы хотите возвращать HTTP код состояния "OK" `200` по умолчанию.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Jun 16 11:11:10 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. utils/utils.go

    			return string(strconv.AppendInt(append([]byte(frame.File), ':'), int64(frame.Line), 10))
    		}
    	}
    
    	return ""
    }
    
    func IsValidDBNameChar(c rune) bool {
    	return !unicode.IsLetter(c) && !unicode.IsNumber(c) && c != '.' && c != '*' && c != '_' && c != '$' && c != '@'
    }
    
    // CheckTruth check string true or not
    func CheckTruth(vals ...string) bool {
    	for _, val := range vals {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_3x.md

     *  Fix: Update the stored timestamp on conditional cache hits.
     *  New: Optimized HTTP/2 request header encoding. More headers are HPACK-encoded and string
        literals are now Huffman-encoded.
     *  New: Expose `Part` headers and body in `Multipart`.
     *  New: Make `ResponseBody.string()` and `ResponseBody.charStream()` BOM-aware. If your HTTP
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/response-directly.md

    By default, **FastAPI** would automatically convert that return value to JSON using the `jsonable_encoder` explained in [JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank}.
    
    Then, behind the scenes, it would put that JSON-compatible data (e.g. a `dict`) inside of a `JSONResponse` that would be used to send the response to the client.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerHeader.kt

    /**
     * The first two bytes of each value is a header that includes its tag (field ID) and length.
     */
    internal data class DerHeader(
      /**
       * Namespace of the tag.
       *
       * This value is encoded in bits 7 and 8 of the first byte of each value.
       *
       * ```
       * 0b00xxxxxx Universal
       * 0b01xxxxxx Application
       * 0b10xxxxxx Context-Specific
       * 0b11xxxxxx Private
       * ```
       */
      var tagClass: Int,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. docs/tr/docs/how-to/general.md

    ## Herhangi Bir Veriyi JSON Uyumlu Hale Getirme
    
    Herhangi bir veriyi JSON uyumlu hale getirmek için, [Tutorial - JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank} sayfasını okuyun.
    
    ## OpenAPI Meta Verileri - Dokümantasyon
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon May 27 16:20:52 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            // Reserved (1 byte)
            buffer[52] = 0x00;
    
            // Byte count (2 bytes)
            buffer[53] = 0x00;
            buffer[54] = 0x00;
    
            // Test decode
            int bytesDecoded = response.decode(buffer, 0);
    
            // Should decode at least the header
            assertTrue(bytesDecoded > 0);
    
            // Verify the command was decoded correctly
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

                    0xA5A5A5A5, fileId);
            byte[] packet = buildPacket(header, body, null, null);
    
            int read = resp.decode(packet, 0, false);
            assertTrue(read >= SMB2_HEADER_LENGTH + body.length, "Should decode at least header+body");
    
            // Validate simple getters
            assertEquals((byte) 0x7, resp.getOplockLevel());
            assertEquals((byte) 0x2, resp.getOpenFlags());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            response.getServerData().scapabilities = SmbConstants.CAP_UNICODE;
            response.getServerData().encryptionKeyLength = 8;
            // Set Unicode flag to use Unicode encoding
            setNegotiatedFlags2(response, SmbConstants.FLAGS2_UNICODE);
            // Domain name in Unicode (UTF-16LE) with null terminator
            byte[] domainBytes = "DOMAIN\0".getBytes("UTF-16LE");
            // Use reflection to set protected byteCount field
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top