- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 589 for Decoder (0.09 sec)
-
tests/test_tutorial/test_security/test_tutorial006.py
assert response.json() == {"detail": "Invalid authentication credentials"} def test_security_http_basic_non_basic_credentials(): payload = b64encode(b"johnsecret").decode("ascii") auth_header = f"Basic {payload}" response = client.get("/users/me", headers={"Authorization": auth_header}) assert response.status_code == 401, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.3K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/RtmSession.java
// the body from slack is a 0-byte-buffer @Override public synchronized void onOpen(WebSocket webSocket, Response response) { System.out.println("onOpen: " + response); } // TOOD(jwilson): decode incoming messages and dispatch them somewhere. @Override public void onMessage(WebSocket webSocket, String text) { System.out.println("onMessage: " + text); }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Nov 19 20:16:58 UTC 2016 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponse.java
return 0; } @Override protected int readDataWireFormat ( byte[] buffer, int bufferIndex, int len ) { int start = bufferIndex; bufferIndex += this.dfsResponse.decode(buffer, bufferIndex, len); return bufferIndex - start; } @Override public String toString () {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial006_an_py39.py
assert response.json() == {"detail": "Invalid authentication credentials"} @needs_py39 def test_security_http_basic_non_basic_credentials(client: TestClient): payload = b64encode(b"johnsecret").decode("ascii") auth_header = f"Basic {payload}" response = client.get("/users/me", headers={"Authorization": auth_header}) assert response.status_code == 401, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.5K bytes - Viewed (0) -
docs/debugging/inspect/export.go
"strings" "time" json "github.com/minio/colorjson" "github.com/klauspost/compress/zip" "github.com/tinylib/msgp/msgp" ) func inspectToExportType(downloadPath string, datajson bool) error { decode := func(r io.Reader, file string) ([]byte, error) { b, e := io.ReadAll(r) if e != nil { return nil, e } b, _, minor, e := checkXL2V1(b) if e != nil { return nil, e }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 08 15:58:02 UTC 2022 - 9.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Interceptor.kt
* includes both natural exceptions such as unreachable servers, as well as synthetic exceptions * when responses are of an unexpected type or cannot be decoded. * * Other exception types cancel the current call: * * * For synchronous calls made with [Call.execute], the exception is propagated to the caller. *
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.5K bytes - Viewed (0) -
tests/test_security_http_basic_realm.py
assert response.json() == {"detail": "Invalid authentication credentials"} def test_security_http_basic_non_basic_credentials(): payload = b64encode(b"johnsecret").decode("ascii") auth_header = f"Basic {payload}" response = client.get("/users/me", headers={"Authorization": auth_header}) assert response.status_code == 401, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.6K bytes - Viewed (0) -
tests/test_security_http_basic_realm_description.py
assert response.json() == {"detail": "Invalid authentication credentials"} def test_security_http_basic_non_basic_credentials(): payload = b64encode(b"johnsecret").decode("ascii") auth_header = f"Basic {payload}" response = client.get("/users/me", headers={"Authorization": auth_header}) assert response.status_code == 401, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/log/ApiAdminLogAction.java
} // GET /api/admin/log/file/{id} @Execute public StreamResponse get$file(final String id) { final String filename = new String(Base64.getDecoder().decode(id), StandardCharsets.UTF_8).replace("..", "").replaceAll("\\s", ""); final String logFilePath = systemHelper.getLogFilePath(); if (StringUtil.isNotBlank(logFilePath) && isLogFilename(filename)) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.7K bytes - Viewed (0) -
cmd/api-datatypes.go
type DeleteMarkerMTime struct { time.Time } // MarshalXML encodes expiration date if it is non-zero and encodes // empty string otherwise func (t DeleteMarkerMTime) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error { if t.Time.IsZero() { return nil } return e.EncodeElement(t.Time.Format(time.RFC3339), startElement) } // ObjectV object version key/versionId type ObjectV struct {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 14 07:26:50 UTC 2024 - 3K bytes - Viewed (0)