Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for Underscores (0.06 seconds)

  1. docs/en/docs/tutorial/header-param-models.md

                "msg": "Extra inputs are not permitted",
                "input": "plumbus",
            }
        ]
    }
    ```
    
    ## Disable Convert Underscores { #disable-convert-underscores }
    
    The same way as with regular header parameters, when you have underscore characters in the parameter names, they are **automatically converted to hyphens**.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/header-params.md

    If for some reason you need to disable automatic conversion of underscores to hyphens, set the parameter `convert_underscores` of `Header` to `False`:
    
    {* ../../docs_src/header_params/tutorial002_an_py310.py hl[10] *}
    
    /// warning
    
    Before setting `convert_underscores` to `False`, bear in mind that some HTTP proxies and servers disallow the usage of headers with underscores.
    
    ///
    
    ## Duplicate headers { #duplicate-headers }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 3K bytes
    - Click Count (0)
  3. docs/pt/docs/tutorial/header-param-models.md

                "loc": ["header", "tool"],
                "msg": "Extra inputs are not permitted",
                "input": "plumbus",
            }
        ]
    }
    ```
    
    ## Desativar conversão de underscores { #disable-convert-underscores }
    
    Da mesma forma que com parâmetros de cabeçalho normais, quando você tem caracteres de sublinhado nos nomes dos parâmetros, eles são **automaticamente convertidos em hifens**.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  4. cmd/bucket-lifecycle-audit.go

    import (
    	"strconv"
    
    	"github.com/minio/minio/internal/bucket/lifecycle"
    )
    
    //go:generate stringer -type lcEventSrc -trimprefix lcEventSrc_ $GOFILE
    type lcEventSrc uint8
    
    //nolint:staticcheck,revive // Underscores are used here to indicate where common prefix ends and the enumeration name begins
    const (
    	lcEventSrc_None lcEventSrc = iota
    	lcEventSrc_Heal
    	lcEventSrc_Scanner
    	lcEventSrc_Decom
    	lcEventSrc_Rebal
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  5. docs/ru/docs/tutorial/header-param-models.md

                "msg": "Extra inputs are not permitted",
                "input": "plumbus",
            }
        ]
    }
    ```
    
    ## Как отключить автоматическое преобразование подчеркиваний { #disable-convert-underscores }
    
    Как и в случае с обычными заголовками, если у вас в именах параметров имеются символы подчеркивания, они **автоматически преобразовываются в дефис**.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  6. docs/de/docs/tutorial/header-param-models.md

                "msg": "Extra inputs are not permitted",
                "input": "plumbus",
            }
        ]
    }
    ```
    
    ## Automatische Umwandlung von Unterstrichen deaktivieren { #disable-convert-underscores }
    
    Ähnlich wie bei regulären Header-Parametern werden bei der Verwendung von Unterstrichen in den Parameternamen diese **automatisch in Bindestriche umgewandelt**.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  7. docs/es/docs/tutorial/header-param-models.md

                "loc": ["header", "tool"],
                "msg": "Extra inputs are not permitted",
                "input": "plumbus",
            }
        ]
    }
    ```
    
    ## Desactivar la conversión de guiones bajos { #disable-convert-underscores }
    
    De la misma forma que con los parámetros de header normales, cuando tienes caracteres de guion bajo en los nombres de los parámetros, se **convierten automáticamente en guiones**.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  8. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

      static class EmptyTest {}
    
      static class EmptyTests {}
    
      static class EmptyTestSuite {}
    
      static class Foo {}
    
      @SuppressWarnings("IdentifierName") // We're testing that we ignore classes with underscores.
      static class Foo_Bar {}
    
      public static class PublicFoo {}
    
      static class FooTest {
        @SuppressWarnings("unused") // accessed reflectively
        public void testPublic() {}
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 28 02:48:50 GMT 2024
    - 5.4K bytes
    - Click Count (0)
  9. internal/s3select/sql/stringfuncs.go

    )
    
    const (
    	percent    rune = '%'
    	underscore rune = '_'
    	runeZero   rune = 0
    )
    
    func evalSQLLike(text, pattern string, escape rune) (match bool, err error) {
    	s := []rune{}
    	prev := runeZero
    	hasLeadingPercent := false
    	patLen := len([]rune(pattern))
    	for i, r := range pattern {
    		if i > 0 && prev == escape {
    			switch r {
    			case percent, escape, underscore:
    				s = append(s, r)
    				prev = r
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_header_params/test_tutorial002.py

                {"strange_header": "FastAPI test"},
                200,
                {"strange_header": "FastAPI test"},
            ),
            (
                "/items",
                {"strange-header": "Not really underscore"},
                200,
                {"strange_header": None},
            ),
        ],
    )
    def test(path, headers, expected_status, expected_response, client: TestClient):
        response = client.get(path, headers=headers)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 4.1K bytes
    - Click Count (0)
Back to Top