- Sort Score
- Result 10 results
- Languages All
Results 921 - 930 of 1,732 for jsonp (0.05 sec)
-
internal/config/etcd/etcd.go
Value: "", }, config.KV{ Key: ClientCertKey, Value: "", }, } ) // Config - server etcd config. type Config struct { Enabled bool `json:"enabled"` PathPrefix string `json:"pathPrefix"` CoreDNSPath string `json:"coreDNSPath"` clientv3.Config } // New - initialize new etcd client. func New(cfg Config) (*clientv3.Client, error) { if !cfg.Enabled { return nil, nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 28 23:17:22 UTC 2024 - 5.2K bytes - Viewed (0) -
docs/pt/docs/tutorial/security/simple-oauth2.md
{!> ../../docs_src/security/tutorial003.py!} ``` //// /// tip | Dica Pela especificação, você deve retornar um JSON com um `access_token` e um `token_type`, o mesmo que neste exemplo. Isso é algo que você mesmo deve fazer em seu código e certifique-se de usar essas chaves JSON. É quase a única coisa que você deve se lembrar de fazer corretamente, para estar em conformidade com as especificações.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Oct 31 12:17:45 UTC 2024 - 13.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/UpgradeUtil.java
try { source = FileUtil.readUTF8(mappingFile); } catch (final Exception e) { logger.warn("{} is not found.", mappingFile, e); } try { final AcknowledgedResponse putMappingResponse = indicesClient.preparePutMapping(index).setSource(source, XContentType.JSON)
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.1K bytes - Viewed (0) -
internal/bucket/replication/sourceselectioncriteria.go
type ReplicaModifications struct { Status Status `xml:"Status" json:"Status"` } // SourceSelectionCriteria - specifies additional source selection criteria in ReplicationConfiguration. type SourceSelectionCriteria struct { ReplicaModifications ReplicaModifications `xml:"ReplicaModifications" json:"ReplicaModifications"` } // IsValid - checks whether SourceSelectionCriteria is valid or not.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.5K bytes - Viewed (0) -
fastapi/routing.py
if subtype == "json" or subtype.endswith("+json"): json_body = await request.json() if json_body != Undefined: body = json_body else: body = body_bytes except json.JSONDecodeError as e:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 12 09:44:57 UTC 2024 - 172.1K bytes - Viewed (0) -
docs/em/docs/tutorial/handling-errors.md
🚥 👩💻 📨 `http://example.com/items/foo` ( `item_id` `"foo"`), 👈 👩💻 🔜 📨 🇺🇸🔍 👔 📟 2️⃣0️⃣0️⃣, & 🎻 📨: ```JSON { "item": "The Foo Wrestlers" } ``` ✋️ 🚥 👩💻 📨 `http://example.com/items/bar` (🚫-🚫 `item_id` `"bar"`), 👈 👩💻 🔜 📨 🇺🇸🔍 👔 📟 4️⃣0️⃣4️⃣ ("🚫 🔎" ❌), & 🎻 📨: ```JSON { "detail": "Item not found" } ``` /// tip
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.3K bytes - Viewed (0) -
istioctl/pkg/validate/validate_test.go
"valid.yaml": validYAML, }) tempDirJSON := createTestDirectory(t, map[string]string{ "valid.json": validJSON, "invalid.json": invalidJSON, "warning.json": warningsJSON, "invalidYAML.json": invalidJSON, }) validTempDirJSON := createTestDirectory(t, map[string]string{ "valid.json": validJSON, }) t.Cleanup(func() { os.RemoveAll(tempDirYAML) os.RemoveAll(validTempDirYAML)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 02 16:18:14 UTC 2024 - 21.4K bytes - Viewed (0) -
docs/em/docs/tutorial/security/simple-oauth2.md
👆 🔜 🤚 👆 👩💻 📊, 💖: ```JSON { "username": "johndoe", "email": "******@****.***", "full_name": "John Doe", "disabled": false, "hashed_password": "fakehashedsecret" } ``` <img src="/img/tutorial/security/image06.png"> 🚥 👆 🖊 🔒 ℹ & ⏏, & ⤴️ 🔄 🎏 🛠️ 🔄, 👆 🔜 🤚 🇺🇸🔍 4️⃣0️⃣1️⃣ ❌: ```JSON { "detail": "Not authenticated" } ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.8K bytes - Viewed (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.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Feb 23 21:28:14 UTC 2024 - 10.2K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial008c.py
response = client.get("/items/foo") assert response.status_code == 404, response.text assert response.json() == {"detail": "Item not found, there's only a plumbus here"} def test_get(client: TestClient): response = client.get("/items/plumbus") assert response.status_code == 200, response.text assert response.json() == "plumbus" def test_fastapi_error(client: TestClient):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 1.1K bytes - Viewed (0)