- Sort Score
- Num 10 results
- Language All
Results 581 - 590 of 1,923 for json$ (0.12 seconds)
-
internal/bucket/replication/destination.go
// Destination - destination in ReplicationConfiguration. type Destination struct { XMLName xml.Name `xml:"Destination" json:"Destination"` Bucket string `xml:"Bucket" json:"Bucket"` StorageClass string `xml:"StorageClass" json:"StorageClass"` ARN string // EncryptionConfiguration TODO: not needed for MinIO } func (d Destination) isValidStorageClass() bool {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 4K bytes - Click Count (0) -
docs/en/docs/tutorial/testing.md
Then you just do the same in your tests. E.g.: * To pass a *path* or *query* parameter, add it to the URL itself. * To pass a JSON body, pass a Python object (e.g. a `dict`) to the parameter `json`. * If you need to send *Form Data* instead of JSON, use the `data` parameter instead. * To pass *headers*, use a `dict` in the `headers` parameter. * For *cookies*, a `dict` in the `cookies` parameter.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/CurlHelper.java
return request(Method.GET, path).header("Content-Type", "application/json"); } /** * Creates a POST request for the specified path. * @param path the request path * @return the configured CurlRequest */ public CurlRequest post(final String path) { return request(Method.POST, path).header("Content-Type", "application/json"); } /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 6.1K bytes - Click Count (0) -
internal/config/callhome/callhome.go
const callhomeCycleDefault = 24 * time.Hour // Config represents the subnet related configuration type Config struct { // Flag indicating whether callhome is enabled. Enable bool `json:"enable"` // The interval between callhome cycles Frequency time.Duration `json:"frequency"` } var configLock sync.RWMutex // Enabled - indicates if callhome is enabled or not func (c *Config) Enabled() bool { configLock.RLock()Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 2.6K bytes - Click Count (0) -
.teamcity/scripts/update_wrapper_and_create_pr.sh
post() { local endpoint="$1" local data="$2" local response=$(curl -X POST \ -H "Authorization: token $GITHUB_TOKEN" \ -H "Accept: application/vnd.github.v3+json" \ -H "Content-Type: application/json" \ "https://api.github.com/repos/gradle/gradle$endpoint" \ -d "$data" \ -w "\n%{http_code}" \ 2>/dev/null) local http_code=$(echo "$response" | tail -n1)Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jul 29 03:20:20 GMT 2025 - 2.9K bytes - Click Count (0) -
tests/test_stream_bare_type.py
assert response.headers["content-type"] == "application/jsonl" lines = [json.loads(line) for line in response.text.strip().splitlines()] assert lines == [{"name": "foo"}] def test_stream_bare_sync_iterable(): response = client.get("/items/stream-bare-sync") assert response.status_code == 200 assert response.headers["content-type"] == "application/jsonl" lines = [json.loads(line) for line in response.text.strip().splitlines()]
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 18:56:47 GMT 2026 - 1.1K bytes - Click Count (0) -
cmd/utils_test.go
req.Header.Set("content-md5", "====test") jsonReq := dumpRequest(req) type jsonResult struct { Method string `json:"method"` RequestURI string `json:"reqURI"` Header http.Header `json:"header"` } res := jsonResult{} if err = json.Unmarshal([]byte(strings.ReplaceAll(jsonReq, "%%", "%")), &res); err != nil { t.Fatal(err) } // Look for expected method.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 10.2K bytes - Click Count (0) -
docs/en/docs/advanced/stream-data.md
# Stream Data { #stream-data } If you want to stream data that can be structured as JSON, you should [Stream JSON Lines](../tutorial/stream-json-lines.md). But if you want to **stream pure binary data** or strings, here's how you can do it. /// info Added in FastAPI 0.134.0. /// ## Use Cases { #use-cases } You could use this if you want to stream pure strings, for example directly from the output of an **AI LLM** service.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/FavoritesApiTests.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import io.restassured.RestAssured; import io.restassured.path.json.JsonPath; import io.restassured.response.Response; /** * Integration tests for the Favorites API (/api/v1/favorites and /api/v1/documents/{docId}/favorite)
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 9.9K bytes - Click Count (0) -
docs/ja/docs/index.md
* データの検証: * データが無効な場合に自動で明確なエラーを返します。 * 深い入れ子になった JSON オブジェクトでも検証が可能です。 * 入力データの <dfn title="別名: serialization、parsing、marshalling">変換</dfn>: ネットワークから Python のデータや型へ。以下から読み取ります: * JSON。 * パスパラメータ。 * クエリパラメータ。 * Cookie。 * ヘッダー。 * フォーム。 * ファイル。 * 出力データの <dfn title="別名: serialization、parsing、marshalling">変換</dfn>: Python のデータや型からネットワークデータへ(JSON として)変換します:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 25.6K bytes - Click Count (0)