- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 317 for contentType (0.07 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/GzipRequestBody.kt
import okhttp3.RequestBody import okio.BufferedSink import okio.GzipSink import okio.buffer internal class GzipRequestBody( val delegate: RequestBody, ) : RequestBody() { override fun contentType() = delegate.contentType() // We don't know the compressed length in advance! override fun contentLength() = -1L override fun writeTo(sink: BufferedSink) { GzipSink(sink).buffer().use(delegate::writeTo) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 04 17:43:43 UTC 2025 - 1.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/CrawlTestBase.java
protected static Response deleteMethod(final String path) { return given().contentType("application/json").header("Authorization", getTestToken()).delete(path); } protected static void deleteDocuments(final String queryString) { List<String> docIds = new ArrayList<>(); Response response = given().contentType("application/json") .param("scroll", "1m")
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 10K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt
Header("content-type", contentType(file)), ) stream.writeHeaders( responseHeaders = responseHeaders, outFinished = false, flushHeaders = false, ) file.source().use { source -> stream.sink.buffer().use { sink -> sink.writeAll(source) } } } private fun contentType(file: File): String = when {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 6.4K bytes - Viewed (0) -
samples/static-server/src/main/java/okhttp3/sample/SampleServer.java
.setStatus("HTTP/1.1 200") .setBody(fileToBytes(file)) .addHeader("content-type: " + contentType(path)); } private Buffer fileToBytes(File file) throws IOException { Buffer result = new Buffer(); result.writeAll(Okio.source(file)); return result; } private String contentType(String path) { if (path.endsWith(".png")) return "image/png";
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jan 02 02:50:44 UTC 2019 - 4.7K bytes - Viewed (0) -
src/main/webapp/WEB-INF/orig/view/searchNoResult.jsp
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%> <%-- query did not match any document --%> <div id="result" class="row"> <div class="col-md-8 alert alert-info"> <la:message key="labels.did_not_match" arg0="${displayQuery}" /> </div> <div class="col-md-4"><%-- Side Content --%></div>
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Jan 12 06:14:02 UTC 2025 - 318 bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java
public String getMimeType() { return mimeType; } /** * Sets the MIME type of the response. * * @param contentType the MIME type to set */ public void setMimeType(final String contentType) { mimeType = contentType; } /** * Gets the URL of the crawled resource. * * @return the URL */ public String getUrl() {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 11.6K bytes - Viewed (0) -
src/main/webapp/WEB-INF/orig/view/footer.jsp
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%> <footer role="contentinfo"> <div class="container text-center"> <p class="text-muted"> <la:message key="labels.footer.copyright" /> </p> </div>
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Jan 12 06:14:02 UTC 2025 - 233 bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/common/admin/footer.jsp
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%> <footer class="main-footer"> <div class="float-right d-none d-sm-inline-block"></div> <la:message key="labels.footer.copyright" />
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Wed Feb 12 20:25:27 UTC 2020 - 213 bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/searchNoResult.jsp
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%> <%-- query did not match any document --%> <div id="result" class="row"> <div class="col-md-8 alert alert-info"> <la:message key="labels.did_not_match" arg0="${displayQuery}" /> </div> <div class="col-md-4"><%-- Side Content --%></div>
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Jan 12 06:14:02 UTC 2025 - 318 bytes - Viewed (0) -
cmd/xl-storage-format-utils_test.go
xhttp.AmzBucketReplicationStatus: "PENDING", xhttp.ContentType: "application/json", }, }, { name: "someempty", arg: map[string]string{ xhttp.AmzRestore: "", xhttp.ContentMD5: mustGetUUID(), xhttp.AmzBucketReplicationStatus: "", xhttp.ContentType: "application/json", }, }, } for _, tt := range tests {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.1K bytes - Viewed (0)