Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for WriteHeaders (0.07 sec)

  1. cmd/object-handlers-common.go

    			// If the object ETag matches with the specified ETag.
    			writeHeaders()
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrPreconditionFailed), r.URL)
    			return true
    		}
    	}
    
    	etagMatch := opts.PreserveETag != "" && isETagEqual(objInfo.ETag, opts.PreserveETag)
    	vidMatch := opts.VersionID != "" && opts.VersionID == objInfo.VersionID
    	if etagMatch && vidMatch {
    		writeHeaders()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                try (ServletOutputStream out = response.getOutputStream(); InputStream in = curlResponse.getContentAsStream()) {
                    response.setStatus(curlResponse.getHttpStatusCode());
                    writeHeaders(response);
                    final String responseContentType = curlResponse.getHeaderValue("Content-Type");
                    if (StringUtil.isBlank(responseContentType)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 15 08:29:24 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. internal/http/response-recorder.go

    			lrw.body.Write(p)
    		}
    	}
    	if err != nil {
    		return n, err
    	}
    	return n, err
    }
    
    // Write the headers into the given buffer
    func (lrw *ResponseRecorder) writeHeaders(w io.Writer, statusCode int, headers http.Header) {
    	n, _ := fmt.Fprintf(w, "%d %s\n", statusCode, http.StatusText(statusCode))
    	lrw.headerBytesWritten += n
    	for k, v := range headers {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            }
    
            @Override
            public HighlightInfo getHighlightInfo() {
                return new HighlightInfo();
            }
        }
    
        @Override
        protected void writeHeaders(final HttpServletResponse response) {
            ComponentUtil.getFessConfig().getApiJsonResponseHeaderList().forEach(e -> response.setHeader(e.getFirst(), e.getSecond()));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top