Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 263 for GET (0.14 sec)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt

            @Incubating
            fun foo() {}
    
            /** @since 2.0 */
            @get:Incubating
            val bar: String = "bar"
    
            /** @since 2.0 */
            @get:Incubating
            val bool: Boolean = true
    
            /** @since 2.0 */
            @get:Incubating
            val isBool: Boolean = true
    
            /** @since 2.0 */
            @get:Incubating
            @set:Incubating
            var bazar = "bazar"
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jul 11 06:57:51 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

      private val boundaryByteString: ByteString,
      @get:JvmName("type") val type: MediaType,
      @get:JvmName("parts") val parts: List<Part>,
    ) : RequestBody() {
      private val contentType: MediaType = "$type; boundary=$boundary".toMediaType()
      private var contentLength = -1L
    
      @get:JvmName("boundary")
      val boundary: String
        get() = boundaryByteString.utf8()
    
      /** The number of parts in this multipart body. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

        )
    }
    
    private val AnnotationDescriptor.psi: KtCallElement? get() = (source as? PsiSourceElement)?.psi as? KtCallElement
    internal val AnnotationDescriptor.classIdForAnnotation: ClassId? get() = annotationClass?.maybeLocalClassId
    internal val AnnotationDescriptor.useSiteTarget: AnnotationUseSiteTarget?
        get() = (this as? LazyAnnotationDescriptor)?.annotationEntry?.useSiteTarget?.getAnnotationUseSiteTarget()
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 33.2K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/security/oauth2-scopes.md

    ```
    
    ## 依赖项树与作用域
    
    再次查看这个依赖项树与作用域。
    
    `get_current_active_user` 依赖项包含子依赖项 `get_current_user`,并在 `get_current_active_user`中声明了作用域 `"me"` 包含所需作用域列表 ,在 `security_scopes.scopes` 中传递给 `get_current_user`。
    
    *路径操作*自身也声明了作用域,`"items"`,这也是 `security_scopes.scopes` 列表传递给 `get_current_user` 的。
    
    依赖项与作用域的层级架构如下:
    
    * *路径操作* `read_own_items` 包含:
        * 依赖项所需的作用域 `["items"]`:
        * `get_current_active_user`:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:43:35 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/RequestTest.kt

      @Test
      fun crudVerbs() {
        val contentType = "application/json".toMediaType()
        val body = "{}".toRequestBody(contentType)
    
        val get = Request.Builder().url("http://localhost/api").get().build()
        assertThat(get.method).isEqualTo("GET")
        assertThat(get.body).isNull()
    
        val head = Request.Builder().url("http://localhost/api").head().build()
        assertThat(head.method).isEqualTo("HEAD")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

        }
      }
    }
    
    private fun Request.requestForCache(): Request {
      val cacheUrlOverride = cacheUrlOverride
    
      return if (cacheUrlOverride != null && (method == "GET" || method == "POST")) {
        newBuilder()
          .get()
          .url(cacheUrlOverride)
          .cacheUrlOverride(null)
          .build()
      } else {
        this
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  7. README.md

    * Validate that there is an `item_id` in the path for `GET` and `PUT` requests.
    * Validate that the `item_id` is of type `int` for `GET` and `PUT` requests.
        * If it is not, the client will see a useful, clear error.
    * Check if there is an optional query parameter named `q` (as in `http://127.0.0.1:8000/items/foo?q=somequery`) for `GET` requests.
        * As the `q` parameter is declared with `= None`, it is optional.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

        val encodedFragment: String? = httpUrl.encodedFragment()
        val fragment: String? = httpUrl.fragment()
        val getFromUrl: HttpUrl? = HttpUrl.get(URL(""))
        val getFromUri: HttpUrl? = HttpUrl.get(URI(""))
        val parse: HttpUrl? = HttpUrl.parse("")
      }
    
      @Test @Disabled
      fun handshakeCertificates() {
        val handshakeCertificates = HandshakeCertificates.Builder().build()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/first-steps.md

    우리 역시 이제부터 메소드를 "**작동**"이라고 부를 것입니다.
    
    #### *경로 작동 데코레이터* 정의
    
    ```Python hl_lines="6"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    `@app.get("/")`은 **FastAPI**에게 바로 아래에 있는 함수가 다음으로 이동하는 요청을 처리한다는 것을 알려줍니다.
    
    * 경로 `/`
    * <abbr title="HTTP GET 메소드"><code>get</code> 작동</abbr> 사용
    
    !!! info "`@decorator` 정보"
        이 `@something` 문법은 파이썬에서 "데코레이터"라 부릅니다.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/security/oauth2-scopes.md

    ## Abhängigkeitsbaum und Scopes
    
    Sehen wir uns diesen Abhängigkeitsbaum und die Scopes noch einmal an.
    
    Da die Abhängigkeit `get_current_active_user` von `get_current_user` abhängt, wird der bei `get_current_active_user` deklarierte Scope `"me"` in die Liste der erforderlichen Scopes in `security_scopes.scopes` aufgenommen, das an `get_current_user` übergeben wird.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:08 GMT 2024
    - 22.8K bytes
    - Viewed (0)
Back to top