Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for gorilla (1.02 sec)

  1. internal/handlers/proxy.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    // Originally from https://github.com/gorilla/handlers with following license
    // https://raw.githubusercontent.com/gorilla/handlers/master/LICENSE, forked
    // and heavily modified for MinIO's internal needs.
    
    package handlers
    
    import (
    	"net"
    	"net/http"
    	"regexp"
    	"strings"
    )
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Dec 22 00:56:55 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  2. go.sum

    github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4=
    github.com/gorilla/sessions v1.2.1/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM=
    github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY=
    github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY=
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:31:35 GMT 2024
    - 84.2K bytes
    - Viewed (0)
  3. cmd/api-response.go

    	if err.HTTPStatusCode == http.StatusServiceUnavailable {
    		// Set retry-after header to indicate user-agents to retry request after 120secs.
    		// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After
    		w.Header().Set(xhttp.RetryAfter, "120")
    	}
    
    	switch err.Code {
    	case "InvalidRegion":
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  4. cmd/post-policy_test.go

    	contentTypeHdr := req.Header.Get("Content-Type")
    	contentTypeHdr = strings.Replace(contentTypeHdr, "multipart/form-data", "multipart/form-datA", 1)
    	req.Header.Set("Content-Type", contentTypeHdr)
    	req.Header.Set("User-Agent", "Mozilla")
    
    	// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    	// Call the ServeHTTP to execute the handler.
    	apiRouter.ServeHTTP(rec, req)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  5. cmd/generic-handlers.go

    	loginPathPrefix = SlashSeparator + "login"
    )
    
    func guessIsBrowserReq(r *http.Request) bool {
    	aType := getRequestAuthType(r)
    	return strings.Contains(r.Header.Get("User-Agent"), "Mozilla") &&
    		globalBrowserEnabled && aType == authTypeAnonymous
    }
    
    func setBrowserRedirectMiddleware(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  6. CREDITS

    ================================================================
    
    github.com/gorilla/websocket
    https://github.com/gorilla/websocket
    ----------------------------------------------------------------
    Copyright (c) 2023 The Gorilla Authors. All rights reserved.
    
    Redistribution and use in source and binary forms, with or without
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:31:35 GMT 2024
    - 1.6M bytes
    - Viewed (0)
  7. docs/bucket/notifications/README.md

                        "sequencer": "15C32494527B46C5"
                    }
                },
                "source": {
                    "host": "192.168.56.192",
                    "port": "",
                    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0"
                }
            }
        ]
    }
    ```
    
    ## Publish MinIO events via Webhooks
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
  8. cmd/test-utils_test.go

    // All the API end points are registered only for the default case.
    func initTestAPIEndPoints(objLayer ObjectLayer, apiFunctions []string) http.Handler {
    	// initialize a new mux router.
    	// goriilla/mux is the library used to register all the routes and handle them.
    	muxRouter := mux.NewRouter().SkipClean(true).UseEncodedPath()
    	if len(apiFunctions) > 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
Back to top