Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 167 for converting (0.18 sec)

  1. okhttp/src/test/java/okhttp3/CookiesTest.kt

        val cookie = cookies[0]
        assertThat(cookie.name).isEqualTo("a")
        assertThat(cookie.value).isEqualTo("android")
        assertThat(cookie.commentURL).isNull()
        assertThat(cookie.discard).isFalse()
        // Converting to a fixed date can cause rounding!
        assertThat(cookie.maxAge.toDouble()).isCloseTo(60.0, 5.0)
        assertThat(cookie.path).isEqualTo("/path")
        assertThat(cookie.secure).isTrue()
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. docs/en/docs/alternatives.md

    the main features needed by API systems is data "<abbr title="also called marshalling, conversion">serialization</abbr>" which is taking data from the code (Python) and converting it into something that can be sent through the network. For example, converting an object containing data from a database into a JSON object. Converting `datetime` objects into strings, etc.
    
    Another big feature needed by APIs is data validation, making sure that the data is valid, given certain parameters. For...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/security/simple-oauth2.md

    You should never save plaintext passwords, so, we'll use the (fake) password hashing system.
    
    If the passwords don't match, we return the same error.
    
    #### Password hashing
    
    "Hashing" means: converting some content (a password in this case) into a sequence of bytes (just a string) that looks like gibberish.
    
    Whenever you pass exactly the same content (exactly the same password) you get exactly the same gibberish.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

              }
            }
          }
        },
        /*
         * This one comes last to work around b/367716565. (One *possible* alternative would be to not
         * declare any methods in this enum, converting assertFailsToDecode into a static method that is
         * implemented with a `switch`. I haven't tested that.)
         */
        @GwtIncompatible // decodingStream(Reader)
        DECODING_STREAM {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/UnsignedLongs.java

     * 2^64 + x}). The methods for which signedness is not an issue are in {@link Longs}, as well as
     * signed versions of methods for which signedness is an issue.
     *
     * <p>In addition, this class provides several static methods for converting a {@code long} to a
     * {@code String} and a {@code String} to a {@code long} that treat the {@code long} as an unsigned
     * number.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 21:04:48 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. docs/en/docs/index.md

        * Path parameters.
        * Query parameters.
        * Cookies.
        * Headers.
        * Forms.
        * Files.
    * <abbr title="also known as: serialization, parsing, marshalling">Conversion</abbr> of output data: converting from Python data and types to network data (as JSON):
        * Convert Python types (`str`, `int`, `float`, `bool`, `list`, etc).
        * `datetime` objects.
        * `UUID` objects.
        * Database models.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_4x.md

        consistent with the length of the response body.
    
     *  Fix: Don't crash when converting a `HttpUrl` instance with an unresolvable hostname to a URI.
        The new behavior strips invalid characters like `"` and `{` from the hostname before converting.
    
     *  Fix: Undo a performance regression introduced in OkHttp 4.0 caused by differences in behavior
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt

      fun hostContainsOnlyStrippedCharacters() {
        val url = "http://>/".toHttpUrl()
        assertThat(url.host).isEqualTo(">")
        assertThat(url.toUri().host).isNull()
      }
    
      /**
       * Strip unexpected characters when converting to URI (which is more strict).
       * https://github.com/square/okhttp/issues/5667
       */
      @Test
      fun hostToUriStripsCharacters() {
        val httpUrl = "http://example\".com/".toHttpUrl()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  9. README.md

        * Path parameters.
        * Query parameters.
        * Cookies.
        * Headers.
        * Forms.
        * Files.
    * <abbr title="also known as: serialization, parsing, marshalling">Conversion</abbr> of output data: converting from Python data and types to network data (as JSON):
        * Convert Python types (`str`, `int`, `float`, `bool`, `list`, etc).
        * `datetime` objects.
        * `UUID` objects.
        * Database models.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 09:13:26 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/security/oauth2-jwt.md

    You can read more about it in the <a href="https://pyjwt.readthedocs.io/en/latest/installation.html" class="external-link" target="_blank">PyJWT Installation docs</a>.
    
    ///
    
    ## Password hashing
    
    "Hashing" means converting some content (a password in this case) into a sequence of bytes (just a string) that looks like gibberish.
    
    Whenever you pass exactly the same content (exactly the same password) you get exactly the same gibberish.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:45:10 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top