Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 880 for loaders (0.06 sec)

  1. src/archive/tar/reader_test.go

    1. for i, hdr := range hdrs {
    2. if i >= len(v.headers) {
    3. t.Fatalf("entry %d: unexpected header:\ngot %+v", i, *hdr)
    4. }
    5. if !reflect.DeepEqual(*hdr, *v.headers[i]) {
    6. t.Fatalf("entry %d: incorrect header:\ngot %+v\nwant %+v", i, *hdr, *v.headers[i])
    7. }
    8. }
    9. if len(hdrs) != len(v.headers) {
    10. t.Fatalf("got %d headers, want %d headers", len(hdrs), len(v.headers))
    11. }
    12.  
    13. for i, sum := range chksums {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

    1. fun writeRequest(
    2. headers: Headers,
    3. requestLine: String,
    4. ) {
    5. check(state == STATE_IDLE) { "state: $state" }
    6. sink.writeUtf8(requestLine).writeUtf8("\r\n")
    7. for (i in 0 until headers.size) {
    8. sink.writeUtf8(headers.name(i))
    9. .writeUtf8(": ")
    10. .writeUtf8(headers.value(i))
    11. .writeUtf8("\r\n")
    12. }
    13. sink.writeUtf8("\r\n")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt

    1. val recorded = server.takeRequest()
    2. assertThat(recorded.headers["Accept"]).isEqualTo("text/plain")
    3. assertThat(recorded.headers["Accept-Encoding"]).isEqualTo("gzip")
    4. assertThat(recorded.headers["Connection"]).isNull()
    5. assertThat(recorded.headers["User-Agent"]!!).matches(Regex("Jetty/.*"))
    6. }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

    1. .build()
    2. }
    3.  
    4. companion object {
    5. /** Combines cached headers with a network headers as defined by RFC 7234, 4.3.4. */
    6. private fun combine(
    7. cachedHeaders: Headers,
    8. networkHeaders: Headers,
    9. ): Headers {
    10. val result = Headers.Builder()
    11.  
    12. for (index in 0 until cachedHeaders.size) {
    13. val fieldName = cachedHeaders.name(index)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Mar 22 07:09:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java

    1. * @see java.lang.ClassLoader#getResources(String)
    2. */
    3. public static Iterator<URL> getResources(final ClassLoader loader, final String name) {
    4. assertArgumentNotNull("loader", loader);
    5. assertArgumentNotEmpty("name", name);
    6.  
    7. try {
    8. final Enumeration<URL> e = loader.getResources(name);
    9. return new EnumerationIterator<>(e);
    10. } catch (final IOException e) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

    1. // Write the mocking script.
    2. peer.sendFrame().settings(Settings())
    3. peer.acceptFrame() // ACK
    4. peer.acceptFrame() // SYN_STREAM
    5. peer.sendFrame().headers(false, 3, headerEntries("headers", "bam"))
    6. peer.acceptFrame() // PING
    7. peer.sendFrame().headers(true, 3, headerEntries("trailers", "boom"))
    8. peer.sendFrame().ping(true, Http2Connection.AWAIT_PING, 0) // PONG
    9. peer.play()
    10.  
    11. // Play it back.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_security/test_tutorial006.py

    1. assert response.status_code == 401, response.text
    2. assert response.headers["WWW-Authenticate"] == "Basic"
    3.  
    4.  
    5. def test_security_http_basic_invalid_credentials():
    6. response = client.get(
    7. "/users/me", headers={"Authorization": "Basic notabase64token"}
    8. )
    9. assert response.status_code == 401, response.text
    10. assert response.headers["WWW-Authenticate"] == "Basic"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

    1. throw e;
    2. } catch (final Exception e) {
    3. return null;
    4. } finally {
    5. final GroovyClassLoader loader = groovyShell.getClassLoader();
    6. loader.clearCache();
    7. }
    8. }
    9.  
    10. @Override
    11. protected String getName() {
    12. return Constants.DEFAULT_SCRIPT;
    13. }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (1)
  9. okhttp/src/main/kotlin/okhttp3/Cache.kt

    1. /**
    2. * Returns the subset of the headers in this's request that impact the content of this's body.
    3. */
    4. fun Response.varyHeaders(): Headers {
    5. // Use the request headers sent over the network, since that's what the response varies on.
    6. // Otherwise OkHttp-supplied headers like "Accept-Encoding: gzip" may be lost.
    7. val requestHeaders = networkResponse!!.request.headers
    8. val responseHeaders = headers
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  10. internal/crypto/error.go

    1. // ErrIncompatibleEncryptionMethod indicates that both SSE-C headers and SSE-S3 headers were specified, and are incompatible
    2. // The client needs to remove the SSE-S3 header or the SSE-C headers
    3. ErrIncompatibleEncryptionMethod = Errorf("Server side encryption specified with both SSE-C and SSE-S3 headers")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top