Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 333 for Cookies (0.33 sec)

  1. src/net/textproto/reader_test.go

    	for i := 0; i < len(data); i++ {
    		data[i] = 'x'
    	}
    	sdata := string(data)
    	r := reader("Cookie: " + sdata + "\r\n\n")
    	m, err := r.ReadMIMEHeader()
    	if err != nil {
    		t.Fatalf("ReadMIMEHeader: %v", err)
    	}
    	cookie := m.Get("Cookie")
    	if cookie != sdata {
    		t.Fatalf("ReadMIMEHeader: %v bytes, want %v bytes", len(cookie), len(sdata))
    	}
    }
    
    // TestReadMIMEHeaderNonCompliant checks that we don't normalize headers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 05 18:31:56 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/dev_freebsd.go

    // Functions to access/create device major and minor numbers matching the
    // encoding used in FreeBSD's sys/types.h header.
    //
    // The information below is extracted and adapted from sys/types.h:
    //
    // Minor gives a cookie instead of an index since in order to avoid changing the
    // meanings of bits 0-15 or wasting time and space shifting bits 16-31 for
    // devices that don't use them.
    
    package unix
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 23 19:01:58 UTC 2018
    - 1013 bytes
    - Viewed (0)
  3. okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetCookieJar.kt

     * limitations under the License.
     */
    @file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
    
    package okhttp3
    
    import java.net.CookieHandler
    
    /**
     * A cookie jar that delegates to a [java.net.CookieHandler].
     *
     * This implementation delegates everything to [okhttp3.java.net.cookiejar.JavaNetCookieJar], which
     * conforms to the package-naming limitations of JPMS.
     *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/route/route_test.go

    		g.Expect(len(routes)).To(Equal(1))
    
    		hashPolicy := &envoyroute.RouteAction_HashPolicy{
    			PolicySpecifier: &envoyroute.RouteAction_HashPolicy_Cookie_{
    				Cookie: &envoyroute.RouteAction_HashPolicy_Cookie{
    					Name: "hash-cookie",
    					Ttl:  &ttl,
    				},
    			},
    		}
    		g.Expect(routes[0].GetRoute().GetHashPolicy()).To(ConsistOf(hashPolicy))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_client_tls13.go

    	// cookie, and clients must abort the handshake if the HRR would not result
    	// in any change in the ClientHello.
    	if hs.serverHello.selectedGroup == 0 && hs.serverHello.cookie == nil {
    		c.sendAlert(alertIllegalParameter)
    		return errors.New("tls: server sent an unnecessary HelloRetryRequest message")
    	}
    
    	if hs.serverHello.cookie != nil {
    		hello.cookie = hs.serverHello.cookie
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/dependencies/sub-dependencies.md

    {!../../../docs_src/dependencies/tutorial005.py!}
    ```
    
    这里重点说明一下声明的参数:
    
    * 尽管该函数自身是依赖项,但还声明了另一个依赖项(它「依赖」于其他对象)
        * 该函数依赖 `query_extractor`, 并把 `query_extractor` 的返回值赋给参数 `q`
    * 同时,该函数还声明了类型是 `str` 的可选 cookie(`last_query`)
        * 用户未提供查询参数 `q` 时,则使用上次使用后保存在 cookie 中的查询
    
    ### 使用依赖项
    
    接下来,就可以使用依赖项:
    
    ```Python hl_lines="22"
    {!../../../docs_src/dependencies/tutorial005.py!}
    ```
    
    !!! info "信息"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/RequestTest.kt

        val headers =
          Headers.Builder()
            .add("content-length", "99")
            .add("authorization", "peanutbutter")
            .add("proxy-authorization", "chocolate")
            .add("cookie", "drink=coffee")
            .add("set-cookie", "accessory=sugar")
            .add("user-agent", "OkHttp")
            .build()
        val request =
          Request(
            "https://square.com".toHttpUrl(),
            headers,
          )
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProvider.java

     */
    package org.codelibs.fess.mylasta.direction.sponsor;
    
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.lastaflute.core.security.InvertibleCryptographer;
    import org.lastaflute.web.servlet.cookie.CookieResourceProvider;
    
    /**
     * @author jflute
     */
    public class FessCookieResourceProvider implements CookieResourceProvider {
    
        protected final FessConfig harborConfig;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/dev_dragonfly.go

    // Functions to access/create device major and minor numbers matching the
    // encoding used in Dragonfly's sys/types.h header.
    //
    // The information below is extracted and adapted from sys/types.h:
    //
    // Minor gives a cookie instead of an index since in order to avoid changing the
    // meanings of bits 0-15 or wasting time and space shifting bits 16-31 for
    // devices that don't use them.
    
    package unix
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 23 19:01:58 UTC 2018
    - 1K bytes
    - Viewed (0)
  10. src/crypto/tls/handshake_messages.go

    					}
    				})
    			})
    		}
    	}
    	if len(m.cookie) > 0 {
    		// RFC 8446, Section 4.2.2
    		if echInner {
    			echOuterExts = append(echOuterExts, extensionCookie)
    		} else {
    			exts.AddUint16(extensionCookie)
    			exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
    				exts.AddUint16LengthPrefixed(func(exts *cryptobyte.Builder) {
    					exts.AddBytes(m.cookie)
    				})
    			})
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
Back to top