Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 333 for multipass (0.03 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

      }
    
      @Test fun `parse from response body`() {
        val multipart =
          """
          |--simple boundary
          |
          |abcd
          |--simple boundary--
          """.trimMargin()
            .replace("\n", "\r\n")
    
        val responseBody =
          multipart.toResponseBody(
            "application/multipart; boundary=\"simple boundary\"".toMediaType(),
          )
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

    import static com.google.common.base.Predicates.not;
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.collect.Multimaps.filterKeys;
    import static com.google.common.collect.Multimaps.filterValues;
    import static com.google.common.collect.Multimaps.synchronizedListMultimap;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Sep 24 22:52:18 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  3. tests/test_multipart_installation.py

        monkeypatch.setattr("python_multipart.__version__", "0.0.12")
        with warnings.catch_warnings(record=True):
            warnings.simplefilter("always")
            monkeypatch.delattr("multipart.multipart.parse_options_header", raising=False)
        with pytest.raises(RuntimeError, match=multipart_incorrect_install_error):
            app = FastAPI()
    
            @app.post("/")
            async def root(username: str = Form()):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

         */
        @JvmField
        val MIXED = "multipart/mixed".toMediaType()
    
        /**
         * The "multipart/alternative" type is syntactically identical to "multipart/mixed", but the
         * semantics are different. In particular, each of the body parts is an "alternative" version of
         * the same information.
         */
        @JvmField
        val ALTERNATIVE = "multipart/alternative".toMediaType()
    
        /**
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. internal/etag/etag_test.go

    		},
    		Multipart: must("a7d414b9133d6483d9a1c4e04e856e3b-2"),
    	},
    }
    
    func TestMultipart(t *testing.T) {
    	for i, test := range multipartTests {
    		if multipart := Multipart(test.ETags...); !Equal(multipart, test.Multipart) {
    			t.Fatalf("Test %d: got %q - want %q", i, multipart, test.Multipart)
    		}
    	}
    }
    
    var isEncryptedTests = []struct {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/MultipartBodyTest.kt

          multipart.addPart(
            headersOf("Content-Type", "text/plain"),
            "Hello, World!".toRequestBody(null),
          )
        }
      }
    
      @Test
      fun contentLengthHeaderIsForbidden() {
        val multipart = MultipartBody.Builder()
        assertFailsWith<IllegalArgumentException> {
          multipart.addPart(
            headersOf("Content-Length", "13"),
            "Hello, World!".toRequestBody(null),
          )
        }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  7. docs/uk/docs/tutorial/request-forms-and-files.md

    Переконайтеся, що Ви створили [віртуальне середовище](../virtual-environments.md){.internal-link target=_blank}, активували його, а потім встановили бібліотеку, наприклад:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    ## Імпорт `File` та `Form`
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Feb 20 14:13:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/request-forms-and-files.md

    Убедитесь, что вы создали [виртуальное окружение](../virtual-environments.md){.internal-link target=_blank}, активировали его, а затем установили пакет, например:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    ## Импортируйте `File` и `Form` { #import-file-and-form }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Multimaps.filterKeys;
    import static com.google.common.collect.Multimaps.filterValues;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.base.Predicate;
    import java.util.Map.Entry;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MoreCollectors.java

              throw multiples(true);
            }
            return this;
          }
        }
    
        @IgnoreJRERequirement // see enclosing class (whose annotation Animal Sniffer ignores here...)
        Optional<Object> getOptional() {
          if (extras.isEmpty()) {
            return Optional.ofNullable(element);
          } else {
            throw multiples(false);
          }
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top