- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 880 for loaders (0.06 sec)
-
src/archive/tar/reader_test.go
- for i, hdr := range hdrs {
- if i >= len(v.headers) {
- t.Fatalf("entry %d: unexpected header:\ngot %+v", i, *hdr)
- }
- if !reflect.DeepEqual(*hdr, *v.headers[i]) {
- t.Fatalf("entry %d: incorrect header:\ngot %+v\nwant %+v", i, *hdr, *v.headers[i])
- }
- }
- if len(hdrs) != len(v.headers) {
- t.Fatalf("got %d headers, want %d headers", len(hdrs), len(v.headers))
- }
- 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) -
okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
- fun writeRequest(
- headers: Headers,
- requestLine: String,
- ) {
- check(state == STATE_IDLE) { "state: $state" }
- sink.writeUtf8(requestLine).writeUtf8("\r\n")
- for (i in 0 until headers.size) {
- sink.writeUtf8(headers.name(i))
- .writeUtf8(": ")
- .writeUtf8(headers.value(i))
- .writeUtf8("\r\n")
- }
- 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) -
samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt
- val recorded = server.takeRequest()
- assertThat(recorded.headers["Accept"]).isEqualTo("text/plain")
- assertThat(recorded.headers["Accept-Encoding"]).isEqualTo("gzip")
- assertThat(recorded.headers["Connection"]).isNull()
- assertThat(recorded.headers["User-Agent"]!!).matches(Regex("Jetty/.*"))
- }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
- .build()
- }
- companion object {
- /** Combines cached headers with a network headers as defined by RFC 7234, 4.3.4. */
- private fun combine(
- cachedHeaders: Headers,
- networkHeaders: Headers,
- ): Headers {
- val result = Headers.Builder()
- for (index in 0 until cachedHeaders.size) {
- 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) -
src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java
- * @see java.lang.ClassLoader#getResources(String)
- */
- public static Iterator<URL> getResources(final ClassLoader loader, final String name) {
- assertArgumentNotNull("loader", loader);
- assertArgumentNotEmpty("name", name);
- try {
- final Enumeration<URL> e = loader.getResources(name);
- return new EnumerationIterator<>(e);
- } 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) -
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
- // Write the mocking script.
- peer.sendFrame().settings(Settings())
- peer.acceptFrame() // ACK
- peer.acceptFrame() // SYN_STREAM
- peer.sendFrame().headers(false, 3, headerEntries("headers", "bam"))
- peer.acceptFrame() // PING
- peer.sendFrame().headers(true, 3, headerEntries("trailers", "boom"))
- peer.sendFrame().ping(true, Http2Connection.AWAIT_PING, 0) // PONG
- peer.play()
- // 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) -
tests/test_tutorial/test_security/test_tutorial006.py
- assert response.status_code == 401, response.text
- assert response.headers["WWW-Authenticate"] == "Basic"
- def test_security_http_basic_invalid_credentials():
- response = client.get(
- "/users/me", headers={"Authorization": "Basic notabase64token"}
- )
- assert response.status_code == 401, response.text
- 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) -
src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java
- throw e;
- } catch (final Exception e) {
- return null;
- } finally {
- final GroovyClassLoader loader = groovyShell.getClassLoader();
- loader.clearCache();
- }
- }
- @Override
- protected String getName() {
- return Constants.DEFAULT_SCRIPT;
- }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.1K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/Cache.kt
- /**
- * Returns the subset of the headers in this's request that impact the content of this's body.
- */
- fun Response.varyHeaders(): Headers {
- // Use the request headers sent over the network, since that's what the response varies on.
- // Otherwise OkHttp-supplied headers like "Accept-Encoding: gzip" may be lost.
- val requestHeaders = networkResponse!!.request.headers
- 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) -
internal/crypto/error.go
- // ErrIncompatibleEncryptionMethod indicates that both SSE-C headers and SSE-S3 headers were specified, and are incompatible
- // The client needs to remove the SSE-S3 header or the SSE-C headers
- 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)