Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 50 for didn (0.26 sec)

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

        assertThat(response.header("Content-Encoding")).isEqualTo("gzip")
        assertThat(response.body.source().readByteString()).isEqualTo(
          gzippedBody.snapshot(),
        )
    
        // The request did not offer gzip support.
        val recordedRequest = server.takeRequest()
        assertThat(recordedRequest.headers["Accept-Encoding"]).isNull()
      }
    
      @Test
      fun asyncResponseCanBeConsumedLater() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

            // If there's a "Expect: 100-continue" header on the request, wait for a "HTTP/1.1 100
            // Continue" response before transmitting the request body. If we don't get that, return
            // what we did get (such as a 4xx response) without ever transmitting the request body.
            if ("100-continue".equals(request.header("Expect"), ignoreCase = true)) {
              exchange.flushRequest()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.3K bytes
    - Viewed (1)
  3. okhttp/src/test/java/okhttp3/internal/idn/IdnStringprep.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.idn
    
    import okio.Buffer
    import okio.BufferedSource
    
    /**
     * An implementation of Stringprep ([RFC 3454]) intended for use with Nameprep ([RFC 3491]).
     *
     * [RFC 3454]: https://datatracker.ietf.org/doc/html/rfc3454
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. okhttp/src/test/resources/web-platform-test-urltestdata.txt

    http://%ef%bc%85%ef%bc%94%ef%bc%91.com
    
    # ...%00 in fullwidth should fail (also as escaped UTF-8 input)
    http://\uff05\uff10\uff10.com
    http://%ef%bc%85%ef%bc%90%ef%bc%90.com
    
    # Basic IDN support, UTF-8 and UTF-16 input should be converted to IDN
    http://\u4f60\u597d\u4f60\u597d  s:http p:/ h:xn--6qqa088eba
    
    # Invalid escaped characters should fail and the percents should be
    # escaped. https://www.w3.org/Bugs/Public/show_bug.cgi?id=24191
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

       *
       *  * A regular host name, like `android.com`.
       *
       *  * An IPv4 address, like `127.0.0.1`.
       *
       *  * An IPv6 address, like `::1`. Note that there are no square braces.
       *
       *  * An encoded IDN, like `xn--n3h.net`.
       *
       * | URL                   | `host()`        |
       * | :-------------------- | :-------------- |
       * | `http://android.com/` | `"android.com"` |
       * | `http://127.0.0.1/`   | `"127.0.0.1"`   |
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  6. okhttp/src/test/java/okhttp3/internal/idn/StringprepTablesReaderTest.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.idn
    
    import assertk.assertThat
    import assertk.assertions.hasSize
    import kotlin.test.Test
    import kotlin.test.assertEquals
    import okio.Buffer
    import okio.FileSystem
    import okio.Path.Companion.toPath
    
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  7. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/GenerateIdnaMappingTableCode.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    @file:JvmName("GenerateIdnaMappingTableCode")
    
    package okhttp3.internal.idn
    
    import com.squareup.kotlinpoet.ClassName
    import com.squareup.kotlinpoet.FileSpec
    import com.squareup.kotlinpoet.KModifier
    import com.squareup.kotlinpoet.PropertySpec
    import java.io.File
    import okio.FileSystem
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/idn/StringprepReader.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.idn
    
    import okio.Buffer
    import okio.BufferedSource
    import okio.ByteString.Companion.encodeUtf8
    import okio.FileSystem
    import okio.IOException
    import okio.Options
    import okio.Path
    import okio.buffer
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.idn
    
    import kotlin.math.abs
    import kotlin.streams.toList
    import okio.Buffer
    
    /** Index [table] for compactness as specified by `IdnaMappingTable`. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  10. okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.idn
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.isEqualTo
    import okhttp3.internal.idn.MappedRange.InlineDelta
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    import org.junit.jupiter.api.Test
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.3K bytes
    - Viewed (0)
Back to top