- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 1,148 for headers (0.04 sec)
-
docs/es/docs/advanced/custom-response.md
* `path` - La path del archivo para el archivo a transmitir. * `headers` - Cualquier header personalizado para incluir, como un diccionario. * `media_type` - Un string que da el media type. Si no se establece, se usará el nombre de archivo o la path para inferir un media type. * `filename` - Si se establece, se incluirá en el response `Content-Disposition`. Los responses de archivos incluirán los headers apropiados `Content-Length`, `Last-Modified` y `ETag`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 12.5K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt
Request( url = "https://url-host.com:${server.port}/".toHttpUrl(), headers = headersOf("Host", "header-host"), ), ) val response = call.execute() assertThat(response.isSuccessful).isTrue() val recordedRequest = server.takeRequest() assertThat(recordedRequest.url.host).isEqualTo("header-host") // https://github.com/bcgit/bc-java/issues/1773
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 6.3K bytes - Viewed (0) -
buildscripts/upgrade-tests/nginx.conf
server minio4:9000; } # main minio server { listen 9000; listen [::]:9000; server_name localhost; # To allow special characters in headers ignore_invalid_headers off; # Allow any size file to be uploaded. # Set to a value such as 1000m; to restrict file size to a specific value client_max_body_size 0;Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Nov 21 18:41:30 UTC 2021 - 1.7K bytes - Viewed (0) -
src/main/resources/fess_config.properties
api.search.accept.referers= # Whether to enable scroll for API search. api.search.scroll=false # Headers for API JSON response. api.json.response.headers=Referrer-Policy:strict-origin-when-cross-origin # Whether to include exceptions in API JSON response. api.json.response.exception.included=false # Headers for API GSA response. api.gsa.response.headers=Referrer-Policy:strict-origin-when-cross-origin # Whether to include exceptions in API GSA response.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 05 14:45:37 UTC 2025 - 54.7K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt
call: Call, response: Response, ) { response.use { if (!response.isSuccessful) throw IOException("Unexpected code $response") for ((name, value) in response.headers) { println("$name: $value") } println(response.body.string()) } } }, ) } } fun main() { AsynchronousGet().run()Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/PushObserver.kt
private class PushObserverCancel : PushObserver { override fun onRequest( streamId: Int, requestHeaders: List<Header>, ): Boolean = true override fun onHeaders( streamId: Int, responseHeaders: List<Header>, last: Boolean, ): Boolean = true @Throws(IOException::class) override fun onData( streamId: Int,Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.6K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
} @Test fun headersPostWithHeaderOverrides() { setLevel(Level.HEADERS) extraNetworkInterceptor = Interceptor { chain: Interceptor.Chain -> chain.proceed( chain .request() .newBuilder() .header("Content-Length", "2") .header("Content-Type", "text/plain-ish") .build(), ) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 37.5K bytes - Viewed (0) -
okhttp/src/androidMain/baseline-prof.txt
HSPLokhttp3/Headers$Builder;-><init>()V HSPLokhttp3/Headers$Builder;->build()Lokhttp3/Headers; HSPLokhttp3/Headers$Builder;->removeAll(Ljava/lang/String;)Lokhttp3/Headers$Builder; HSPLokhttp3/Headers;-><init>([Ljava/lang/String;)V HSPLokhttp3/Headers;->get(Ljava/lang/String;)Ljava/lang/String; HSPLokhttp3/Headers;->name(I)Ljava/lang/String; HSPLokhttp3/Headers;->newBuilder()Lokhttp3/Headers$Builder;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Dec 30 23:28:56 UTC 2024 - 127.9K bytes - Viewed (0) -
docs/es/docs/tutorial/handling-errors.md
/// ## Agrega headers personalizados Existen algunas situaciones en las que es útil poder agregar headers personalizados al error HTTP. Por ejemplo, para algunos tipos de seguridad. Probablemente no necesitarás usarlos directamente en tu código. Pero en caso de que los necesites para un escenario avanzado, puedes agregar headers personalizados:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 9.6K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Story.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.http2.hpackjson /** * Representation of one story, a set of request headers to encode or decode. This class is used * reflectively with Moshi to parse stories from files. */ data class Story( val description: String? = null, val cases: List<Case>, val fileName: String? = null, ) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.1K bytes - Viewed (0)