Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 488 for 200 (0.01 sec)

  1. docs/ja/docs/tutorial/handling-errors.md

    クライアントに以下のようなことを伝える必要があるかもしれません:
    
    * クライアントにはその操作のための十分な権限がありません。
    * クライアントはそのリソースにアクセスできません。
    * クライアントがアクセスしようとしていた項目が存在しません。
    * など
    
    これらの場合、通常は **400**(400から499)の範囲内の **HTTPステータスコード** を返すことになります。
    
    これは200のHTTPステータスコード(200から299)に似ています。これらの「200」ステータスコードは、何らかの形でリクエスト「成功」であったことを意味します。
    
    400の範囲にあるステータスコードは、クライアントからのエラーがあったことを意味します。
    
    **"404 Not Found"** のエラー(およびジョーク)を覚えていますか?
    
    ## `HTTPException`の使用
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Jun 22 14:35:27 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  2. android-test/src/androidTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt

        val request =
          Request
            .Builder()
            .url("https://www.google.com")
            .build()
        client.newCall(request).execute().use { response ->
          assertThat(response.code).isEqualTo(200)
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. .idea/codeStyles/Project.xml

            <package name="javax" withSubpackages="true" static="false" />
            <package name="java" withSubpackages="true" static="false" />
          </value>
        </option>
        <option name="RIGHT_MARGIN" value="200" />
        <GroovyCodeStyleSettings>
          <option name="ALIGN_NAMED_ARGS_IN_MAP" value="false" />
          <option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="999" />
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Mon Jul 31 14:47:08 UTC 2023
    - 3.4K bytes
    - Viewed (1)
  4. okhttp/src/jvmTest/kotlin/okhttp3/LoomTest.kt

      @Test
      fun testRequest() {
        server.enqueue(MockResponse())
    
        val request = Request(server.url("/"))
    
        client.newCall(request).execute().use {
          assertThat(it.code).isEqualTo(200)
        }
      }
    
      @Test
      fun testIfSupported() {
        assertThat(platform.isLoom()).isTrue()
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. samples/compare/src/test/kotlin/okhttp3/compare/OkHttpClientTest.kt

          Request
            .Builder()
            .url(server.url("/"))
            .header("Accept", "text/plain")
            .build()
        val response = client.newCall(request).execute()
        assertThat(response.code).isEqualTo(200)
        assertThat(response.body.string()).isEqualTo("hello, OkHttp")
    
        val recorded = server.takeRequest()
        assertThat(recorded.headers["Accept"]).isEqualTo("text/plain")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/StatusLine.kt

            protocol = Protocol.HTTP_1_1
            codeStart = 12
          } else {
            throw ProtocolException("Unexpected status line: $statusLine")
          }
    
          // Parse response code like "200". Always 3 digits.
          if (statusLine.length < codeStart + 3) {
            throw ProtocolException("Unexpected status line: $statusLine")
          }
          val code =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. api/maven-api-settings/pom.xml

      </dependencies>
    
      <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.modello</groupId>
            <artifactId>modello-maven-plugin</artifactId>
            <configuration>
              <version>2.0.0</version>
              <velocityBasedir>${project.basedir}/../../src/mdo</velocityBasedir>
              <models>
                <model>src/main/mdo/settings.mdo</model>
              </models>
              <templates>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Jun 29 22:37:39 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. .github/workflows/create_issue.js

      // Get the Original PR Details
      const pr_resp = await github.rest.pulls.get({
        owner,
        repo,
        pull_number: pr_number
      });
      if (pr_resp.status != 200 || pr_resp.data.state != 'closed') {
        console.log(`PR:{pr_number} is not found or closed.  Not a valid condition to create an issue.`);
        console.log(pr_resp);
        throw `PR:{pr_number} needs to be valid and closed (merged)`;
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Oct 18 23:04:59 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/netdfs.java

                            s[_i] = new DfsInfo3();
                        }
                        s[_i].decode(_src);
                    }
                }
            }
        }
    
        /**
         * DFS information level 200 structure for extended DFS information
         */
        public static class DfsInfo200 extends NdrObject {
    
            /**
             * Default constructor for DfsInfo200
             */
            public DfsInfo200() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/LongMath.java

       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @throws ArithmeticException of the next-higher power of two is not representable as a {@code
       *     long}, i.e. when {@code x > 2^62}
       * @since 20.0
       */
      public static long ceilingPowerOfTwo(long x) {
        checkPositive("x", x);
        if (x > MAX_SIGNED_POWER_OF_TWO) {
          throw new ArithmeticException("ceilingPowerOfTwo(" + x + ") is not representable as a long");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
Back to top