Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1201 - 1210 of 1,724 for JSON (0.03 sec)

  1. docs/logging/README.md

    - console
    - http
    
    ### Logging Console Target
    
    Console target is on always and cannot be disabled.
    
    ### Logging HTTP Target
    
    HTTP target logs to a generic HTTP endpoint in JSON format and is not enabled by default. To enable HTTP target logging you would have to update your MinIO server configuration using `mc admin config set` command.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 17:15:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. docs_src/custom_response/tutorial009c.py

    from typing import Any
    
    import orjson
    from fastapi import FastAPI, Response
    
    app = FastAPI()
    
    
    class CustomORJSONResponse(Response):
        media_type = "application/json"
    
        def render(self, content: Any) -> bytes:
            assert orjson is not None, "orjson must be installed"
            return orjson.dumps(content, option=orjson.OPT_INDENT_2)
    
    
    @app.get("/", response_class=CustomORJSONResponse)
    async def main():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 01 09:32:30 UTC 2022
    - 451 bytes
    - Viewed (0)
  3. .teamcity/src/test/kotlin/BuildScanTagUtilsTest.kt

    import java.io.File
    
    class BuildScanTagUtilsTest {
        init {
            DslContext.initForTest()
        }
    
        private val subprojectProvider = JsonBasedGradleSubprojectProvider(File("../.teamcity/subprojects.json"))
        private val model = CIBuildModel(
            projectId = "Check",
            branch = VersionedSettingsBranch.fromDslContext(),
            buildScanTags = listOf("Check"),
            subprojects = subprojectProvider
        )
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 07:24:00 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/configdump_test.go

    		{
    			name:        "errors if unable to unmarshal bytes",
    			inputFile:   "",
    			wantConfigs: 0,
    			wantErr:     true,
    		},
    		{
    			name:        "loads valid ztunnel config_dump",
    			inputFile:   "testdata/dump.json",
    			wantConfigs: 27,
    			wantErr:     false,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			cw := &ConfigWriter{}
    			cd, _ := os.ReadFile(tt.inputFile)
    			err := cw.Prime(cd)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. docs/bucket/replication/delete-replication.sh

    sleep 1s
    
    echo "=== myminio1"
    ./mc ls --versions myminio1/testbucket/dir/file
    
    echo "=== myminio2"
    ./mc ls --versions myminio2/testbucket/dir/file
    
    versionId="$(./mc ls --json --versions myminio1/testbucket/dir/ | tail -n1 | jq -r .versionId)"
    
    export AWS_ACCESS_KEY_ID=minioadmin
    export AWS_SECRET_ACCESS_KEY=minioadmin
    export AWS_REGION=us-east-1
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. cmd/object-api-utils_test.go

    // with following object names "\\../.minio.sys/config/iam/${username}/identity.json"
    // #16852
    func testPathTraversalExploit(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler,
    	credentials auth.Credentials, t *testing.T,
    ) {
    	if err := newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatalf("Initializing config.json failed")
    	}
    
    	objectName := `\../.minio.sys/config/hello.txt`
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  7. guava/pom.xml

                  <resources>
                    <resource>
                      <directory>.</directory>
                      <includes>
                        <include>module.json</include>
                      </includes>
                      <filtering>true</filtering>
                    </resource>
                  </resources>
                </configuration>
              </execution>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/query-params.md

    {!../../docs_src/query_params/tutorial005.py!}
    ```
    
    这里的查询参数 `needy` 是类型为 `str` 的必选查询参数。
    
    在浏览器中打开如下 URL:
    
    ```
    http://127.0.0.1:8000/items/foo-item
    ```
    
    ……因为路径中没有必选参数 `needy`,返回的响应中会显示如下错误信息:
    
    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "query",
                    "needy"
                ],
                "msg": "field required",
                "type": "value_error.missing"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. tests/serializer_test.go

    	"strings"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/schema"
    	. "gorm.io/gorm/utils/tests"
    )
    
    type SerializerStruct struct {
    	gorm.Model
    	Name                   []byte                 `gorm:"json"`
    	Roles                  Roles                  `gorm:"serializer:json"`
    	Roles2                 *Roles                 `gorm:"serializer:json"`
    	Roles3                 *Roles                 `gorm:"serializer:json;not null"`
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Apr 21 14:09:38 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  10. internal/config/identity/openid/jwt_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package openid
    
    import (
    	"bytes"
    	"context"
    	"encoding/base64"
    	"encoding/json"
    	"fmt"
    	"io"
    	"net/http"
    	"net/http/httptest"
    	"net/url"
    	"sync"
    	"testing"
    	"time"
    
    	jwtgo "github.com/golang-jwt/jwt/v4"
    	"github.com/minio/minio/internal/arn"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top