- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for StatusPartialContent (0.09 sec)
-
internal/config/identity/openid/provider/keycloak.go
resp, err := k.client.Do(req) if err != nil { return User{}, err } defer resp.Body.Close() switch resp.StatusCode { case http.StatusOK, http.StatusPartialContent: var u User if err = json.NewDecoder(resp.Body).Decode(&u); err != nil { return User{}, err } return u, nil case http.StatusNotFound: return User{ ID: userid,
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Jul 14 18:12:07 UTC 2024 - 4.6K bytes - Viewed (0) -
internal/rest/client.go
return } // Only display response header. var respTrace []byte // For errors we make sure to dump response body as well. if resp.StatusCode != http.StatusOK && resp.StatusCode != http.StatusPartialContent && resp.StatusCode != http.StatusNoContent { respTrace, err = httputil.DumpResponse(resp, true) if err != nil { return } } else { respTrace, err = httputil.DumpResponse(resp, false)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 14.7K bytes - Viewed (0) -
cmd/server_test.go
// execute the HTTP request. response, err = s.client.Do(request) c.Assert(err, nil) // Since only part of the object is requested, expecting response status to be http.StatusPartialContent . c.Assert(response.StatusCode, http.StatusPartialContent) // parse the HTTP response body. getContent, err := io.ReadAll(response.Body) c.Assert(err, nil) // Compare putContent and getContent.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 118.1K bytes - Viewed (0) -
cmd/object-handlers_test.go
byteRange: "bytes=10-100", accessKey: credentials.AccessKey, secretKey: credentials.SecretKey, expectedContent: bytesData[0].byteData[10:101], expectedRespStatus: http.StatusPartialContent, }, // Test case - 4. // Test case with invalid range. { bucketName: bucketName, objectName: objectName, byteRange: "bytes=-0", accessKey: credentials.AccessKey,
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 163.1K bytes - Viewed (0) -
cmd/object-handlers.go
var iw io.Writer = w statusCodeWritten := false httpWriter := xioutil.WriteOnClose(iw) if rs != nil || opts.PartNumber > 0 { statusCodeWritten = true w.WriteHeader(http.StatusPartialContent) } // Write object content to response body if _, err = xioutil.Copy(httpWriter, gr); err != nil { if !httpWriter.HasWritten() && !statusCodeWritten {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 120.6K bytes - Viewed (0) -
cmd/api-errors.go
HTTPStatusCode: http.StatusBadRequest, }, ErrObjectTampered: { Code: "XMinioObjectTampered", Description: errObjectTampered.Error(), HTTPStatusCode: http.StatusPartialContent, }, ErrSiteReplicationInvalidRequest: { Code: "XMinioSiteReplicationInvalidRequest", Description: "Invalid site-replication request", HTTPStatusCode: http.StatusBadRequest,Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 16 07:34:24 UTC 2025 - 93K bytes - Viewed (3)