- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 292 for ContentType (0.17 sec)
-
docs/debugging/s3-verify/main.go
if srcCtnt.Size != tgtCtnt.Size { fmt.Printf("differ in size sourceSize: %d, targetSize: %d\n", srcCtnt.Size, tgtCtnt.Size) return false } else if srcCtnt.ContentType != tgtCtnt.ContentType { fmt.Printf("differ in contentType source: %s, target: %s\n", srcCtnt.ContentType, tgtCtnt.ContentType) return false } core := minio.Core{Client: sclnt} sobj, _, _, err := core.GetObject(context.Background(), sourceBucket, srcCtnt.Key, opts)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 22 15:12:47 UTC 2022 - 8.4K 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.getSink().buffer().use { sink -> sink.writeAll(source) } } } private fun contentType(file: File): String { return when {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.1K bytes - Viewed (0) -
cmd/api-headers.go
// Set Etag if available. if objInfo.ETag != "" { w.Header()[xhttp.ETag] = []string{"\"" + objInfo.ETag + "\""} } if objInfo.ContentType != "" { w.Header().Set(xhttp.ContentType, objInfo.ContentType) } if objInfo.ContentEncoding != "" { w.Header().Set(xhttp.ContentEncoding, objInfo.ContentEncoding) } if !objInfo.Expires.IsZero() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 28 04:44:00 UTC 2024 - 7K 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 Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Jan 02 02:50:44 UTC 2019 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java
return new JakartaServletDiskFileUpload(fileItemFactory) { @Override public byte[] getBoundary(final String contentType) { // for security final byte[] boundary = super.getBoundary(contentType); checkBoundarySize(contentType, boundary); return boundary; } }; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Wed Oct 23 13:27:21 UTC 2024 - 18.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="textmuted"> <la:message key="labels.footer.copyright" /> </p> </div>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Tue Aug 07 14:11:18 UTC 2018 - 232 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 Oct 31 13:40:30 UTC 2024 - 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"> <la:message key="labels.did_not_match" arg0="${displayQuery}" /> </div> <div class="col-md-4"><%-- Side Content --%></div>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Oct 07 22:00:56 UTC 2018 - 307 bytes - Viewed (0) -
internal/s3select/simdj/reader_amd64_test.go
t.Run(tt.name, func(t *testing.T) { ref := loadCompressed(t, tt.name) var err error dst := make(chan simdjson.Object, 100) dec := NewElementReader(dst, &err, &json.ReaderArgs{ContentType: "json"}) pj, err := simdjson.ParseND(ref, nil) if err != nil { t.Fatal(err) } i := pj.Iter() cpy := i b, err := cpy.MarshalJSON() if err != nil { t.Fatal(err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 3.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java
this.contentLength = contentLength; } public String getMimeType() { return mimeType; } public void setMimeType(final String contentType) { mimeType = contentType; } public String getUrl() { return url; } public void setUrl(final String url) { this.url = url; }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 5.8K bytes - Viewed (0)