Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,224 for header2 (0.12 sec)

  1. tests/test_schema_extra_examples.py

                data: Union[str, None] = Header(
                    default=None,
                    example="header1",
                ),
            ):
                return data
    
        @app.get("/header_examples/")
        def header_examples(
            data: Union[str, None] = Header(
                default=None,
                examples=[
                    "header1",
                    "header2",
                ],
            ),
        ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 37.7K bytes
    - Viewed (0)
  2. internal/s3select/csv/reader_contrib_test.go

    			header:          true,
    			wantColumns:     []string{"header1", "header2", "header3"},
    			wantFields:      "ok1,ok2,ok3\n" + `a word,"b"""` + "\n",
    			wantErr:         io.EOF,
    		},
    		{
    			// This works since LazyQuotes is true:
    			file:            "invalid-badstartline.csv",
    			recordDelimiter: "\n",
    			fieldDelimiter:  ",",
    			sendErr:         nil,
    			header:          true,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 38.5K bytes
    - Viewed (0)
  3. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        val derReader = DerReader(buffer)
    
        derReader.read("test") { header ->
          assertThat(header.tag).isEqualTo(7L)
          assertThat(header.tagClass).isEqualTo(DerHeader.TAG_CLASS_APPLICATION)
          assertThat(header.length).isEqualTo(7L)
    
          derReader.read("test") { header2 ->
            assertThat(header2.tag).isEqualTo(3L)
            assertThat(header2.tagClass).isEqualTo(DerHeader.TAG_CLASS_APPLICATION)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  4. tests/test_openapi_examples.py

                                    "Header One": {
                                        "summary": "Header One Summary",
                                        "description": "Header One Description",
                                        "value": "header1",
                                    },
                                    "Header Two": {"value": "header2"},
                                },
                            }
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 15:57:43 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  5. internal/s3select/csv/testdata/testdata.zip

    South,3804,911,251,1,Manhattan,025100 invalid-badbarequote.csv header1,header2,header3 ok1,ok2,ok3 a "word","b" invalid-baddoubleq.csv header1,header2,header3 ok1,ok2,ok3 a""b,c invalid-badextraq.csv header1,header2,header3 ok1,ok2,ok3 "a word",b" invalid-badstartline.csv header1,header2,header3 ok1,ok2,ok3 a,"b c"d,e invalid-badstartline2.csv header1,header2,header3 ok1,ok2,ok3 a,b "d e invalid-badtrailingq.csv header1,header2,header3 ok1,ok2,ok3 "a word",b" invalid-crlfquoted.csv header1,header2,header3...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 111.6K bytes
    - Viewed (0)
  6. docs/de/docs/advanced/response-headers.md

    Und da die `Response` häufig zum Setzen von Headern und Cookies verwendet wird, stellt **FastAPI** diese auch unter `fastapi.Response` bereit.
    
    ///
    
    ## Benutzerdefinierte Header
    
    Beachten Sie, dass benutzerdefinierte proprietäre Header <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers" class="external-link" target="_blank">mittels des Präfix 'X-'</a> hinzugefügt werden können.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Headers.kt

        /**
         * Add a header with the specified name and formatted date. Does validation of header names and
         * value.
         */
        fun add(
          name: String,
          value: Date,
        ) = add(name, value.toHttpDateString())
    
        /**
         * Add a header with the specified name and formatted instant. Does validation of header names
         * and value.
         */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. internal/crypto/header.go

    // functionality to handle SSE-C copy requests.
    var SSECopy = ssecCopy{}
    
    type ssecCopy struct{}
    
    // IsRequested returns true if the HTTP headers contains
    // at least one SSE-C copy header. Regular SSE-C headers
    // are ignored.
    func (ssecCopy) IsRequested(h http.Header) bool {
    	if _, ok := h[xhttp.AmzServerSideEncryptionCopyCustomerAlgorithm]; ok {
    		return true
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. internal/http/headers.go

    	// Header indicates that this request is a replication request to create a REPLICA
    	MinIOSourceReplicationRequest = "X-Minio-Source-Replication-Request"
    	// Header checks replication permissions without actually completing replication
    	MinIOSourceReplicationCheck = "X-Minio-Source-Replication-Check"
    	// Header indicates replication reset status.
    	MinIOReplicationResetStatus = "X-Minio-Replication-Reset-Status"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:31:56 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/HeadersTest.kt

        val headers1 =
          Headers.Builder()
            .add("Connection", "close")
            .add("Transfer-Encoding", "chunked")
            .build()
        val headers2 =
          Headers.Builder()
            .add("Connection", "keep-alive")
            .add("Transfer-Encoding", "chunked")
            .build()
        assertThat(headers2).isNotEqualTo(headers1)
        assertThat(headers2.hashCode()).isNotEqualTo(headers1.hashCode().toLong())
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top