Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 2,328 for _type (0.03 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/match/ReplaceValueInMatch.java

    import org.elasticsearch.gradle.internal.test.rest.transform.ReplaceByKey;
    import org.gradle.api.tasks.Internal;
    
    /**
     * A transformation to replace the value of a match. For example, change from "match":{"_type": "foo"} to "match":{"_type": "bar"}
     */
    public class ReplaceValueInMatch extends ReplaceByKey {
    
        public ReplaceValueInMatch(String replaceKey, JsonNode replacementNode) {
            this(replaceKey, replacementNode, null);
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.5K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/match/AddMatch.java

    import org.gradle.api.tasks.Input;
    import org.gradle.api.tasks.Internal;
    
    import java.util.Objects;
    
    /**
     * Adds a match for a REST test. For example add the follow where it did not exist prior to running this: "match":{"_type": "foo"}
     */
    public class AddMatch implements RestTestTransformByParentArray {
        private static JsonNodeFactory jsonNodeFactory = JsonNodeFactory.withExactBigDecimals(false);
        private final String matchKey;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.5K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/match/ReplaceKeyInMatch.java

    import org.elasticsearch.gradle.internal.test.rest.transform.ReplaceByKey;
    import org.gradle.api.tasks.Internal;
    
    /**
     * A transformation to replace the key in a match. For example, change from "match":{"index._type": "foo"} to "match":{"index._doc": "foo"}
     */
    public class ReplaceKeyInMatch extends ReplaceByKey {
    
        public ReplaceKeyInMatch(String replaceKey, String newKeyName, String testName) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.4K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/length/ReplaceKeyInLength.java

    import org.elasticsearch.gradle.internal.test.rest.transform.ReplaceByKey;
    import org.gradle.api.tasks.Internal;
    
    /**
     * A transformation to replace the key in a length assertion.
     * For example, change from "length":{"index._type": 1} to "length":{"index._doc": 1}
     */
    public class ReplaceKeyInLength extends ReplaceByKey {
    
        public ReplaceKeyInLength(String replaceKey, String newKeyName, String testName) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.4K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ReleaseNotesGenerator.java

            // Sort per-area changelogs by their summary text. Assumes that the underlying list is sortable
            changelogsByVersionByTypeByArea.forEach(
                (_version, byVersion) -> byVersion.forEach(
                    (_type, byTeam) -> byTeam.forEach(
                        (_team, changelogsForTeam) -> changelogsForTeam.sort(comparing(ChangelogEntry::getSummary))
                    )
                )
            );
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 14:45:41 GMT 2021
    - 4.5K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

         * Artifact type name for a JAR file containing test sources.
         */
        String TEST_JAVA_SOURCE = "test-java-source";
    
        /**
         * Returns the dependency type id.
         * The id uniquely identifies this <i>dependency type</i>.
         *
         * @return the id of this type, never {@code null}.
         */
        @Nonnull
        @Override
        String id();
    
        /**
         * Returns the dependency type language.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  7. docs/ru/docs/advanced/strict-content-type.md

    # Строгая проверка HTTP-заголовка Content-Type { #strict-content-type-checking }
    
    По умолчанию **FastAPI** использует строгую проверку HTTP-заголовка `Content-Type` для JSON-тел запросов. Это означает, что JSON-запросы должны включать корректный заголовок `Content-Type` (например, `application/json`), чтобы тело запроса было обработано как JSON.
    
    ## Риск CSRF { #csrf-risk }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  8. docs/es/docs/advanced/strict-content-type.md

    # Chequeo estricto de Content-Type { #strict-content-type-checking }
    
    Por defecto, **FastAPI** usa un chequeo estricto del header `Content-Type` para request bodies JSON, esto significa que las requests JSON deben incluir un header `Content-Type` válido (p. ej. `application/json`) para que el request body se parse como JSON.
    
    ## Riesgo de CSRF { #csrf-risk }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:12:26 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  9. docs/zh/docs/advanced/strict-content-type.md

    # 严格的 Content-Type 检查 { #strict-content-type-checking }
    
    默认情况下,FastAPI 对 JSON 请求体使用严格的 `Content-Type` 头检查。这意味着,JSON 请求必须包含有效的 `Content-Type` 头(例如 `application/json`),其请求体才会被按 JSON 解析。
    
    ## CSRF 风险 { #csrf-risk }
    
    此默认行为在一个非常特定的场景下,可防御一类跨站请求伪造(CSRF)攻击。
    
    这类攻击利用了浏览器的一个事实:当请求满足以下条件时,浏览器允许脚本在不进行任何 CORS 预检的情况下直接发送请求:
    
    - 没有 `Content-Type` 头(例如使用 `fetch()` 携带 `Blob` 作为 body)
    - 且不发送任何认证凭据。
    
    这种攻击主要在以下情况下相关:
    
    - 应用在本地(如 `localhost`)或内网中运行
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 3K bytes
    - Click Count (0)
  10. cmd/setup-type.go

    package cmd
    
    // SetupType - enum for setup type.
    type SetupType int
    
    const (
    	// UnknownSetupType - starts with unknown setup type.
    	UnknownSetupType SetupType = iota
    
    	// FSSetupType - FS setup type enum.
    	FSSetupType
    
    	// ErasureSDSetupType - Erasure single drive setup enum.
    	ErasureSDSetupType
    
    	// ErasureSetupType - Erasure setup type enum.
    	ErasureSetupType
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 1.5K bytes
    - Click Count (0)
Back to Top