- Sort Score
- Num 10 results
- Language All
Results 501 - 510 of 1,052 for Header (0.05 seconds)
-
internal/http/transports.go
type uaTransport struct { ua string rt http.RoundTripper } func (u *uaTransport) RoundTrip(req *http.Request) (*http.Response, error) { req2 := req.Clone(req.Context()) req2.Header.Set("User-Agent", u.ua) return u.rt.RoundTrip(req2) } // WithUserAgent wraps an existing transport with custom User-Agent func WithUserAgent(rt http.RoundTripper, getUA func() string) http.RoundTripper {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 08 17:51:53 GMT 2025 - 6.5K bytes - Click Count (0) -
cmd/tier.go
config.drivercache[tierName] = d return nil } // Bytes returns msgpack encoded config with format and version headers. func (config *TierConfigMgr) Bytes() ([]byte, error) { config.RLock() defer config.RUnlock() data := make([]byte, 4, config.Msgsize()+4) // Initialize the header. binary.LittleEndian.PutUint16(data[0:2], tierConfigFormat) binary.LittleEndian.PutUint16(data[2:4], tierConfigVersion)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.6K bytes - Click Count (0) -
internal/config/dns/operator_dns.go
Subject: config.EnvDNSWebhook, } token := jwt.NewWithClaims(jwt.SigningMethodHS512, claims) ss, err := token.SignedString([]byte(c.password)) if err != nil { return err } r.Header.Set("Authorization", "Bearer "+ss) return nil } func (c *OperatorDNS) endpoint(bucket string, del bool) (string, error) { u, err := url.Parse(c.Endpoint) if err != nil { return "", err } q := u.Query()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Nov 11 14:51:43 GMT 2024 - 6.6K bytes - Click Count (0) -
CHANGELOG.md
## Version 5.0.0-alpha.3 _2021-11-22_ * Fix: Change `Headers.toString()` to redact authorization and cookie headers. * Fix: Don't do DNS to get the hostname for `RecordedRequest.requestUrl`. This was doing a DNS lookup for the local hostname, but we really just wanted the `Host` header. * Fix: Don't crash with a `InaccessibleObjectException` when detecting the platform trust manager
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 05 16:02:59 GMT 2025 - 36.2K bytes - Click Count (2) -
docs/ko/docs/tutorial/cookie-param-models.md
이를 통해 **여러 위치**에서 **모델을 재사용** 할 수 있고 모든 매개변수에 대한 유효성 검사 및 메타데이터를 한 번에 선언할 수도 있습니다. 😍 /// note | 참고 이 기능은 FastAPI 버전 `0.115.0` 이후부터 지원됩니다. 🤓 /// /// tip | 팁 동일한 기술이 `Query`, `Cookie`, 그리고 `Header`에 적용됩니다. 😎 /// ## Pydantic 모델을 사용한 쿠키 **Pydantic 모델**에 필요한 **쿠키** 매개변수를 선언한 다음, 해당 매개변수를 `Cookie`로 선언합니다: {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Dec 09 12:47:02 GMT 2024 - 3.4K bytes - Click Count (0) -
fastapi/openapi/utils.py
cookie_params = _get_flat_fields_from_params(flat_dependant.cookie_params) parameter_groups = [ (ParamTypes.path, path_params), (ParamTypes.query, query_params), (ParamTypes.header, header_params), (ParamTypes.cookie, cookie_params), ] default_convert_underscores = True if len(flat_dependant.header_params) == 1: first_field = flat_dependant.header_params[0]
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 23.2K bytes - Click Count (0) -
cmd/erasure-object.go
} // GetObjectNInfo - returns object info and an object // Read(Closer). When err != nil, the returned reader is always nil. func (er erasureObjects) GetObjectNInfo(ctx context.Context, bucket, object string, rs *HTTPRangeSpec, h http.Header, opts ObjectOptions) (gr *GetObjectReader, err error) { if !opts.NoAuditLog { auditObjectErasureSet(ctx, "GetObject", object, &er) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 80.4K bytes - Click Count (0) -
src/archive/zip/reader_test.go
return messWith("crc32-not-streamed.zip", func(b []byte) { // Corrupt foo.txt's final crc32 byte, in both // the file header and TOC. (0x7e -> 0x7f) b[0x11]++ b[0x9d]++ // TODO(bradfitz): add a new test that only corrupts // one of these values, and verify that that's also an // error. Currently, the reader code doesn't verify the // fileheader and TOC's crc32 match if they're both
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Oct 17 20:10:27 GMT 2025 - 56.5K bytes - Click Count (0) -
doc/godebug.md
includes these key/value pairs in the goroutine status header of runtime tracebacks and debug=2 runtime/pprof stack dumps. This format may change in the future. (see go.dev/issue/76349) Go 1.26 added a new `cryptocustomrand` setting that controls whether most crypto/... APIs ignore the random `io.Reader` parameter. For Go 1.26, it defaults
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Dec 03 00:18:09 GMT 2025 - 24.7K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
return DnsRecordCodec.decodeAnswers(hostname, responseBytes) } } private fun buildRequest( hostname: String, type: Int, ): Request = Request .Builder() .header("Accept", DNS_MESSAGE.toString()) .apply { val query = DnsRecordCodec.encodeQuery(hostname, type) val dnsUrl: HttpUrl = ******@****.*** if (post) { url(dnsUrl)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 8.6K bytes - Click Count (0)