Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,225 for headerIDs (0.15 sec)

  1. okhttp/src/main/kotlin/okhttp3/Response.kt

        ) = commonAddHeader(name, value)
    
        /** Removes all headers named [name] on this builder. */
        open fun removeHeader(name: String) = commonRemoveHeader(name)
    
        /** Removes all headers on this builder and adds [headers]. */
        open fun headers(headers: Headers) = commonHeaders(headers)
    
        open fun body(body: ResponseBody) = commonBody(body)
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/objectivec/ObjectiveCLanguageIncrementalCompileIntegrationTest.groovy

            where:
            testCase                       | headerDirs
            "extra header dir after"       | '"src/main/headers", "src/additional-headers"'
            "extra header dir before"      | '"src/additional-headers", "src/main/headers"'
            "replacement header dir after" | '"src/main/headers", "src/replacement-headers"'
        }
    
        @ToBeFixedForConfigurationCache
        def "recompiles only source file that imported changed header file"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt

      internal constructor(
        requestLine: String,
        headers: Headers,
        chunkSizes: List<Int>,
        bodySize: Long,
        body: Buffer,
        sequenceNumber: Int,
        failure: IOException?,
        method: String?,
        path: String?,
        handshake: Handshake?,
        requestUrl: HttpUrl?,
      ) {
        this.requestLine = requestLine
        this.headers = headers
        this.chunkSizes = chunkSizes
        this.bodySize = bodySize
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

      }
    
      class Part private constructor(
        @get:JvmName("headers") val headers: Headers?,
        @get:JvmName("body") val body: RequestBody,
      ) {
        @JvmName("-deprecated_headers")
        @Deprecated(
          message = "moved to val",
          replaceWith = ReplaceWith(expression = "headers"),
          level = DeprecationLevel.ERROR,
        )
        fun headers(): Headers? = headers
    
        @JvmName("-deprecated_body")
        @Deprecated(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. tests/test_default_response_class_router.py

        assert response.headers["content-type"] == json_type
    
    
    def test_router_a_a_override():
        with client:
            response = client.get("/a/a/override")
        assert response.content == b"Hello A A"
        assert response.headers["content-type"] == text_type
    
    
    def test_router_a_b():
        with client:
            response = client.get("/a/b")
        assert response.content == b"Hello A B"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Mar 01 20:49:20 UTC 2020
    - 5K bytes
    - Viewed (0)
  6. pkg/http/headers/builder.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package headers
    
    import (
    	"net/http"
    )
    
    // Builder for HTTP headers.
    type Builder struct {
    	headers http.Header
    }
    
    // New Builder for HTTP headers.
    func New() *Builder {
    	return &Builder{
    		headers: make(http.Header),
    	}
    }
    
    // Get returns the current value for the key.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 21 16:42:24 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/HeadersKotlinTest.kt

    import java.util.Date
    import okhttp3.Headers.Companion.headersOf
    import org.junit.jupiter.api.Test
    
    class HeadersKotlinTest {
      @Test fun getOperator() {
        val headers = headersOf("a", "b", "c", "d")
        assertThat(headers["a"]).isEqualTo("b")
        assertThat(headers["c"]).isEqualTo("d")
        assertThat(headers["e"]).isNull()
      }
    
      @Test fun iteratorOperator() {
        val headers = headersOf("a", "b", "c", "d")
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Dec 21 01:54:49 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_security/test_tutorial005_an_py39.py

        assert response.json() == {"detail": "Not authenticated"}
        assert response.headers["WWW-Authenticate"] == "Bearer"
    
    
    @needs_py39
    def test_token(client: TestClient):
        access_token = get_access_token(scope="me", client=client)
        response = client.get(
            "/users/me", headers={"Authorization": f"Bearer {access_token}"}
        )
        assert response.status_code == 200, response.text
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/saved_model/README.md

    Separating these public headers by directory also allow future programmatic
    checks to ensure that TF public headers only `#include` other public TF headers.
    
    ## saved_model/internal
    
    `saved_model/internal` is the "glue" between the C API and the internal C++
    implementation.
    
    Its role is to:
    
    1. implement the C API functions declared in `saved_model/public`
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 20 17:00:01 UTC 2020
    - 2K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeLanguageIncrementalCompileWithDiscoveredInputsIntegrationTest.groovy

            where:
            testCase                       | headerDirs
            "extra header dir after"       | '"src/main/headers", "src/additional-headers"'
            "extra header dir before"      | '"src/additional-headers", "src/main/headers"'
            "replacement header dir after" | '"src/main/headers", "src/replacement-headers"'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top