Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for condition (0.16 sec)

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

     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * 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.
     */
    @file:Suppress("ktlint:standard:filename")
    
    package okhttp3
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

      }
    
      @Test
      fun canceledBeforeResponseReadSignalsOnFailure_HTTP_2() {
        enableProtocol(Protocol.HTTP_2)
        canceledBeforeResponseReadSignalsOnFailure()
      }
    
      /**
       * There's a race condition where the cancel may apply after the stream has already been
       * processed.
       */
      @Test
      fun canceledAfterResponseIsDeliveredBreaksStreamButSignalsOnce() {
        server.enqueue(MockResponse(body = "A"))
    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)
  3. okhttp/src/test/java/okhttp3/CacheTest.kt

        assertThat(get(url).body.string()).isEqualTo("A")
        assertThat(get(url).body.string()).isEqualTo("B")
      }
    
      /** @return the request with the conditional get headers. */
      private fun assertConditionallyCached(response: MockResponse): RecordedRequest {
        // scenario 1: condition succeeds
        server.enqueue(
          response.newBuilder()
            .body("A")
            .status("HTTP/1.1 200 A-OK")
            .build(),
        )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  4. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    io
    com.io
    
    // iq : http://www.cmc.iq/english/iq/iqregister1.htm
    iq
    gov.iq
    edu.iq
    mil.iq
    com.iq
    org.iq
    net.iq
    
    // ir : http://www.nic.ir/Terms_and_Conditions_ir,_Appendix_1_Domain_Rules
    // Also see http://www.nic.ir/Internationalized_Domain_Names
    // Two <iran>.ir entries added at request of <******@****.***>, 2010-04-16
    ir
    ac.ir
    co.ir
    gov.ir
    id.ir
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
Back to top