Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 153 for PLAIN (0.02 sec)

  1. docs/en/docs/tutorial/response-model.md

    But if we use the same model for another *path operation*, we could be sending our user's passwords to every client.
    
    /// danger
    
    Never store the plain password of a user or send it in a response like this, unless you know all the caveats and you know what you are doing.
    
    ///
    
    ## Add an output model { #add-an-output-model }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/handling-errors.md

    ### Override the `HTTPException` error handler { #override-the-httpexception-error-handler }
    
    The same way, you can override the `HTTPException` handler.
    
    For example, you could want to return a plain text response instead of JSON for these errors:
    
    {* ../../docs_src/handling_errors/tutorial004.py hl[3:4,9:11,22] *}
    
    /// note | Technical Details
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/custom-response.md

    ### `HTMLResponse` { #htmlresponse }
    
    Takes some text or bytes and returns an HTML response, as you read above.
    
    ### `PlainTextResponse` { #plaintextresponse }
    
    Takes some text or bytes and returns a plain text response.
    
    {* ../../docs_src/custom_response/tutorial005.py hl[2,7,9] *}
    
    ### `JSONResponse` { #jsonresponse }
    
    Takes some data and returns an `application/json` encoded response.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSet.java

           *
           * (And I don't believe there's any situation in which we call x.combine(y) when x is a plain
           * ImmutableSet.Builder but y is an ImmutableSortedSet.Builder (or vice versa). Certainly
           * ImmutableSortedSet.Builder.combine() is written as if its argument will never be a plain
           * ImmutableSet.Builder: It casts immediately to ImmutableSortedSet.Builder.)
           */
          copyIfNecessary();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                    bufferIndex += ((AndXServerMessageBlock) this.andx).readAndXWireFormat(buffer, bufferIndex);
                } else {
    
                    /*
                     * Just a plain smb. Read it as normal.
                     */
    
                    buffer[bufferIndex++] = (byte) (this.andx.wordCount & 0xFF);
    
                    if ((this.andx.wordCount != 0) && (this.andx.wordCount > 2)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        val call =
          client.newCall(
            Request(
              url = server.url("/foo"),
              body =
                object : RequestBody() {
                  override fun contentType(): MediaType = "text/plain; charset=utf-8".toMediaType()
    
                  override fun writeTo(sink: BufferedSink) {
                    sink.write(postBytes)
                  }
                },
            ),
          )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

            .addHeader("Content-Type: text/plain")
            .addHeader("Last-Modified: " + formatDate(-2, TimeUnit.HOURS))
            .addHeader("Expires: " + formatDate(-1, TimeUnit.HOURS))
            .build(),
        )
        server.enqueue(
          MockResponse
            .Builder()
            .code(HttpURLConnection.HTTP_NOT_MODIFIED)
            .addHeader("Content-Type: text/plain")
            .addHeader("Content-Encoding: gzip")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java

                });
            }
    
            @Override
            public OptionalThing<String> getSavedPlainText() {
                return OptionalThing.ofNullable(plainText, () -> {
                    throw new IllegalStateException("Plain text not found");
                });
            }
    
            @Override
            public OptionalThing<String> getSavedHtmlText() {
                return OptionalThing.empty();
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            assertTrue(allowNTLMFallback, "Should delegate NTLM fallback setting");
            assertFalse(useRawNTLM, "Should delegate raw NTLM setting");
            assertTrue(disablePlainTextPasswords, "Should delegate plain text password setting");
            assertEquals("GUEST", guestUsername, "Should delegate guest username");
            assertEquals("", guestPassword, "Should delegate guest password");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Joiner.java

         *
         * Unfortunately, we don't distinguish between these two cases in our public API: Joiner.on(...)
         * and Joiner.on(...).useForNull(...) both declare the same return type: plain Joiner. To ensure
         * that users *can* pass null arguments to Joiner, we annotate it as if it always tolerates null
         * inputs, rather than as if it never tolerates them.
         *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top