Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 87 for Statuscode (0.14 seconds)

  1. internal/s3select/unused-errors.go

    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errColumnTooLong(err error) *s3Error {
    	return &s3Error{
    		code:       "ColumnTooLong",
    		message:    "The length of a column in the result is greater than maxCharsPerColumn of 1 MB.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errOverMaxColumn(err error) *s3Error {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 17.5K bytes
    - Click Count (0)
  2. cmd/update.go

    			StatusCode: http.StatusInternalServerError,
    		}
    	}
    	defer xhttp.DrainBody(resp.Body)
    
    	if resp.StatusCode != http.StatusOK {
    		return content, AdminError{
    			Code:       AdminUpdateUnexpectedFailure,
    			Message:    fmt.Sprintf("Error downloading URL %s. Response: %v", u, resp.Status),
    			StatusCode: resp.StatusCode,
    		}
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/it/search/FavoritesApiTests.java

                // Should return 200 or 201
                int statusCode = response.getStatusCode();
                assertTrue(statusCode == 200 || statusCode == 201, "Status code should be 200 or 201, but was " + statusCode);
            }
        }
    
        @Test
        public void testSetFavorite_noQueryId() {
            // First, do a search to get a docId
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  4. cmd/api-response.go

    }
    
    func writeResponse(w http.ResponseWriter, statusCode int, response []byte, mType mimeType) {
    	// Don't write a response if one has already been written.
    	// Fixes https://github.com/minio/minio/issues/21633
    	if headersAlreadyWritten(w) {
    		return
    	}
    
    	if statusCode == 0 {
    		statusCode = 200
    	}
    	// Similar check to http.checkWriteHeaderCode
    	if statusCode < 100 || statusCode > 999 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 35K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

         */
        class HeadMockHttpURLConnection extends HttpURLConnection {
            private final int statusCode;
    
            HeadMockHttpURLConnection(URL u, int statusCode) {
                super(u);
                this.statusCode = statusCode;
                this.method = "HEAD";
            }
    
            @Override
            public void disconnect() {
            }
    
            @Override
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 44.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                });
            } catch (final WebApiException e) {
                final int statusCode = e.getStatusCode();
                String message;
                if (Constants.TRUE.equalsIgnoreCase(ComponentUtil.getFessConfig().getApiJsonResponseExceptionIncluded())) {
                    if (statusCode >= 400 && statusCode < 500) {
                        if (logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:40 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  7. cmd/tier.go

    		StatusCode: http.StatusBadRequest,
    	}
    
    	errTierBackendNotEmpty = AdminError{
    		Code:       "XMinioAdminTierBackendNotEmpty",
    		Message:    "Specified remote backend is not empty",
    		StatusCode: http.StatusBadRequest,
    	}
    
    	errTierInvalidConfig = AdminError{
    		Code:       "XMinioAdminTierInvalidConfig",
    		Message:    "Unable to setup remote tier, check tier configuration",
    		StatusCode: http.StatusBadRequest,
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/curl/CurlResponseTest.java

            assertNotNull(response);
        }
    
        @Test
        public void testHttpStatusCode() {
            CurlResponse response = new CurlResponse();
            int statusCode = 200;
    
            response.setHttpStatusCode(statusCode);
    
            assertEquals(statusCode, response.getHttpStatusCode());
        }
    
        @Test
        public void testEncoding() {
            CurlResponse response = new CurlResponse();
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 17.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

            }
        }
    
        private static class StatusCodeWebApiManager implements WebApiManager {
            private final int statusCode;
    
            public StatusCodeWebApiManager(int statusCode) {
                this.statusCode = statusCode;
            }
    
            @Override
            public boolean matches(HttpServletRequest request) {
                return true;
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

          } catch (e: IOException) {
            failConnection(e)
          }
        }
      }
    
      @Throws(IOException::class)
      internal fun writeSynReset(
        streamId: Int,
        statusCode: ErrorCode,
      ) {
        writer.rstStream(streamId, statusCode)
      }
    
      internal fun writeWindowUpdateLater(
        streamId: Int,
        unacknowledgedBytesRead: Long,
      ) {
        writerQueue.execute("$connectionName[$streamId] windowUpdate") {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 31.9K bytes
    - Click Count (0)
Back to Top