- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 545 for bearer (0.05 sec)
-
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt
if (response.code == 401) { assertThat(response.body.string()).isEqualTo("{\"error\":{\"message\":\"No auth credentials found\",\"code\":401}}") request = request.newBuilder().header("Authorization", "XYZ").build() } else { response.processEventSource(listener) listener.assertOpen() listener.assertEvent(null, null, "hey") listener.assertClose() }Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 13:49:38 UTC 2025 - 3.6K bytes - Viewed (0) -
docs/en/docs/how-to/conditional-openapi.md
If you want to secure your API, there are several better things you can do, for example: * Make sure you have well defined Pydantic models for your request bodies and responses. * Configure any required permissions and roles using dependencies.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.4K bytes - Viewed (0) -
docs/en/docs/advanced/custom-response.md
* `headers` - A `dict` of strings. * `media_type` - A `str` giving the media type. E.g. `"text/html"`. FastAPI (actually Starlette) will automatically include a Content-Length header. It will also include a Content-Type header, based on the `media_type` and appending a charset for text types. {* ../../docs_src/response_directly/tutorial002.py hl[1,18] *} ### `HTMLResponse` { #htmlresponse }Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 12.2K bytes - Viewed (0) -
src/packaging/common/scripts/postinst
${packaging.scripts.header} # # This script is executed in the post-installation phase # # On Debian, # $1=configure : is set to 'configure' and if $2 is set, it is an upgrade # # On RedHat, # $1=0 : indicates a removal # $1=1 : indicates an upgrade # Sets the default values for fess variables used in this script FESS_USER="${packaging.fess.user}" FESS_GROUP="${packaging.fess.group}"Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Dec 10 01:24:02 UTC 2015 - 3.1K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt
} catch (e: Exception) { false } }.build() val request = Request .Builder() .url("https://sni.cloudflaressl.com/cdn-cgi/trace") .header("Host", "cloudflare-dns.com") .build() client.newCall(request).execute().use { response -> assertThat(response.code).isEqualTo(200) assertThat(response.protocol).isEqualTo(Protocol.HTTP_2)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java
import java.util.Random; import org.jspecify.annotations.NullUnmarked; /** * Benchmarks for {@link CharStreams#copy}. * * <p>{@link CharStreams#copy} has type specific optimizations for various common Appendable and * Reader implementations, this compares the performance of the different options. */ // These benchmarks allocate a lot of data so use a large heap @VmOptions({"-Xms12g", "-Xmx12g", "-d64"}) @NullUnmarkedRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
// Read and verify file content List<String> lines = new ArrayList<>(); try (BufferedReader reader = new BufferedReader(new InputStreamReader(new FileInputStream(tempFile.toFile()), Constants.CHARSET_UTF_8))) { String line; while ((line = reader.readLine()) != null) { lines.add(line); } }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 15.5K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java
} } }; RequestBody requestBody = RequestBody.create( new File("docs/images/logo-square.png"), MEDIA_TYPE_PNG); Request request = new Request.Builder() .header("Authorization", "Client-ID " + IMGUR_CLIENT_ID) .url("https://api.imgur.com/3/image") .post(new ProgressRequestBody(requestBody, progressListener)) .build();Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 4.2K bytes - Viewed (1) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/AbstractSortedMultiset.java
* * <p>The {@link #count} and {@link #size} implementations all iterate across the set returned by * {@link Multiset#entrySet()}, as do many methods acting on the set returned by {@link * #elementSet()}. Override those methods for better performance. * * @author Louis Wasserman */ @GwtCompatible abstract class AbstractSortedMultiset<E extends @Nullable Object> extends AbstractMultiset<E> implements SortedMultiset<E> {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.2K bytes - Viewed (0) -
docs/uk/docs/tutorial/cookie-param-models.md
/// note | Нотатки Це підтримується з версії FastAPI `0.115.0`. 🤓 /// /// tip | Порада Ця ж техніка застосовується до `Query`, `Cookie`, та `Header`. 😎 /// ## Cookie з Pydantic-моделлю Оголосіть **cookie-параметри**, які Вам потрібні, у **Pydantic-моделі**, а потім оголосіть параметр як `Cookie`:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Wed Mar 19 17:03:38 UTC 2025 - 4.7K bytes - Viewed (0)