- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 317 for contentType (0.57 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt
class ErringRequestBody : RequestBody() { override fun contentType(): MediaType = "application/xml".toMediaType() override fun writeTo(sink: BufferedSink) { sink.writeUtf8("<el") sink.flush() throw IOException("failed to stream the XML") } } class ValidRequestBody : RequestBody() { override fun contentType(): MediaType = "application/xml".toMediaType()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 8.4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/Progress.java
this.responseBody = responseBody; this.progressListener = progressListener; } @Override public MediaType contentType() { return responseBody.contentType(); } @Override public long contentLength() { return responseBody.contentLength(); } @Override public BufferedSource source() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 3.9K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/help.jsp
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%><!DOCTYPE html> ${fe:html(true)} <head profile="http://a9.com/-/spec/opensearch/1.1/"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title><la:message key="labels.search_title" /></title> <link href="${fe:url('/css/bootstrap.min.css')}" rel="stylesheet" type="text/css" />
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jan 18 11:38:54 UTC 2025 - 1.4K bytes - Viewed (0) -
cmd/event-notification.go
args.EventName == event.ObjectRemovedNoOP if !isRemovedEvent { newEvent.S3.Object.ETag = args.Object.ETag newEvent.S3.Object.Size = args.Object.Size newEvent.S3.Object.ContentType = args.Object.ContentType newEvent.S3.Object.UserMetadata = make(map[string]string, len(args.Object.UserDefined)) for k, v := range args.Object.UserDefined { if stringsHasPrefixFold(strings.ToLower(k), ReservedMetadataPrefixLower) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jun 21 22:22:24 UTC 2024 - 7.7K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java
this.delegate = delegate; this.progressListener = progressListener; } @Override public MediaType contentType() { return delegate.contentType(); } @Override public long contentLength() throws IOException { return delegate.contentLength(); } @Override
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 4.2K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt
@Test fun noAttemptToReadResponseIfLoadingRequestBodyIsSourceOfFailure() { server.enqueue(MockResponse(body = "abc")) val requestBody = object : RequestBody() { override fun contentType(): MediaType? = null override fun writeTo(sink: BufferedSink) { throw IOException("boom") // Despite this exception, 'sink' is healthy. } } val callA =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/error/badRequest.jsp
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%><!DOCTYPE html> <% try{ %> ${fe:html(true)} <head profile="http://a9.com/-/spec/opensearch/1.1/"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title><la:message key="labels.system_error_title" /></title> <link href="${fe:url('/css/bootstrap.min.css')}" rel="stylesheet" type="text/css" />
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jan 18 12:09:07 UTC 2025 - 1.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
@Throws(IOException::class) override fun close() { snapshot.close() super.close() } }.buffer() } override fun contentType(): MediaType? = contentType?.toMediaTypeOrNull() override fun contentLength(): Long = contentLength?.toLongOrDefault(-1L) ?: -1L override fun source(): BufferedSource = bodySource } companion object {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 26.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
val encodedName: String = formBody.encodedName(0) val name: String = formBody.name(0) val encodedValue: String = formBody.encodedValue(0) val value: String = formBody.value(0) val contentType: MediaType = formBody.contentType() val contentLength: Long = formBody.contentLength() formBody.writeTo(Buffer()) val requestBody: RequestBody = formBody } @Test fun formBodyBuilder() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 46.5K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/common/admin/crud/breadcrumb.jsp
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%> <ol class="breadcrumb float-sm-right"> <c:if test="${crudMode == null}"> <li class="breadcrumb-item active"><la:message key="labels.crud_link_list" /></li> </c:if> <c:if test="${crudMode != null}"> <li class="breadcrumb-item"><la:link href="../list"> <la:message key="labels.crud_link_list" /> </la:link></li> </c:if> <c:if test="${crudMode == 1}">
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Fri Feb 07 10:28:50 UTC 2020 - 919 bytes - Viewed (0)