Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 2,701 for content (0.06 sec)

  1. internal/config/subnet/subnet.go

    	xhttp "github.com/minio/minio/internal/http"
    )
    
    const (
    	respBodyLimit = 1 << 20 // 1 MiB
    
    	// LoggerWebhookName - subnet logger webhook target
    	LoggerWebhookName = "subnet"
    )
    
    // Upload given file content (payload) to specified URL
    func (c Config) Upload(reqURL string, filename string, payload []byte) (string, error) {
    	if !c.Registered() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 27 16:35:36 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. cmd/xl-storage-free-version.go

    	"fmt"
    
    	"github.com/google/uuid"
    	"github.com/minio/minio/internal/bucket/lifecycle"
    )
    
    const freeVersion = "free-version"
    
    // InitFreeVersion creates a free-version to track the tiered-content of j. If j has
    // no tiered content, it returns false.
    func (j xlMetaV2Object) InitFreeVersion(fi FileInfo) (xlMetaV2Version, bool) {
    	if fi.SkipTierFreeVersion() {
    		return xlMetaV2Version{}, false
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. docs_src/additional_status_codes/tutorial001_an.py

            item["size"] = size
            return item
        else:
            item = {"name": name, "size": size}
            items[item_id] = item
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 734 bytes
    - Viewed (0)
  4. tests/test_tutorial/test_first_steps/test_tutorial001.py

                "/": {
                    "get": {
                        "responses": {
                            "200": {
                                "description": "Successful Response",
                                "content": {"application/json": {"schema": {}}},
                            }
                        },
                        "summary": "Root",
                        "operationId": "root__get",
                    }
                }
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. docs_src/response_directly/tutorial001.py

        description: Union[str, None] = None
    
    
    app = FastAPI()
    
    
    @app.put("/items/{id}")
    def update_item(id: str, item: Item):
        json_compatible_item_data = jsonable_encoder(item)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 505 bytes
    - Viewed (0)
  6. tests/test_param_in_path_and_dependency.py

                            "200": {
                                "description": "Successful Response",
                                "content": {"application/json": {"schema": {}}},
                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.repositories.gradle.kts

     * limitations under the License.
     */
    
    repositories {
        maven {
            name = "Gradle public repository"
            url = uri("https://repo.gradle.org/gradle/public")
            content {
                includeGroup("net.rubygrapefruit")
                includeGroup("org.gradle.fileevents")
                includeModule("flot", "flot")
                includeModule("org.gradle", "gradle-tooling-api")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 18:49:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/FormBody.kt

      override fun writeTo(sink: BufferedSink) {
        writeOrCountBytes(sink, false)
      }
    
      /**
       * Either writes this request to [sink] or measures its content length. We have one method
       * do double-duty to make sure the counting and content are consistent, particularly when it comes
       * to awkward operations like measuring the encoded length of header strings, or the
       * length-in-digits of an encoded integer.
       */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_response_change_status_code/test_tutorial001.py

    from docs_src.response_change_status_code.tutorial001 import app
    
    client = TestClient(app)
    
    
    def test_path_operation():
        response = client.put("/get-or-create-task/foo")
        print(response.content)
        assert response.status_code == 200, response.text
        assert response.json() == "Listen to the Bar Fighters"
        response = client.put("/get-or-create-task/bar")
        assert response.status_code == 201, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jul 09 18:06:12 UTC 2020
    - 521 bytes
    - Viewed (0)
  10. cmd/signature-v4-parser_test.go

    			expectedErrCode:       ErrMissingSignHeadersTag,
    		},
    		// Test case - 3.
    		// Test case with valid inputs.
    		{
    			inputSignElement:      "SignedHeaders=host;x-amz-content-sha256;x-amz-date",
    			expectedSignedHeaders: []string{"host", "x-amz-content-sha256", "x-amz-date"},
    			expectedErrCode:       ErrNone,
    		},
    	}
    
    	for i, testCase := range testCases {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 27.4K bytes
    - Viewed (0)
Back to top