Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 8,553 for HTTP (0.07 seconds)

  1. cmd/http-tracer.go

    func httpTracerMiddleware(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		// Setup a http request response recorder - this is needed for
    		// http stats requests and audit if enabled.
    		respRecorder := xhttp.NewResponseRecorder(w)
    
    		// Setup a http request body recorder
    		reqRecorder := &xhttp.RequestRecorder{Reader: r.Body}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Sep 24 17:13:00 GMT 2024
    - 6K bytes
    - Click Count (0)
  2. cmd/http-stats.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/>.
    
    package cmd
    
    import (
    	"net/http"
    	"strings"
    	"sync"
    	"sync/atomic"
    
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/prometheus/client_golang/prometheus"
    )
    
    // connStats - Network statistics
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Sep 24 17:13:00 GMT 2024
    - 11.4K bytes
    - Click Count (0)
  3. cmd/http-tracer_test.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/>.
    
    package cmd
    
    import (
    	"sync"
    	"testing"
    	"time"
    
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    // Test redactLDAPPwd()
    func TestRedactLDAPPwd(t *testing.T) {
    	testCases := []struct {
    		query         string
    		expectedQuery string
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  4. docs/ja/docs/advanced/security/http-basic-auth.md

    # HTTP Basic 認証 { #http-basic-auth }
    
    最もシンプルなケースでは、HTTP Basic 認証を利用できます。
    
    HTTP Basic 認証では、アプリケーションはユーザー名とパスワードを含むヘッダーを期待します。
    
    それを受け取れない場合、HTTP 401 "Unauthorized" エラーを返します。
    
    そして、値が `Basic` のヘッダー `WWW-Authenticate` を、任意の `realm` パラメータとともに返します。
    
    これにより、ブラウザは組み込みのユーザー名とパスワード入力プロンプトを表示します。
    
    その後、そのユーザー名とパスワードを入力すると、ブラウザはそれらをヘッダーに自動的に付与して送信します。
    
    ## シンプルな HTTP Basic 認証 { #simple-http-basic-auth }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  5. docs/zh/docs/advanced/security/http-basic-auth.md

    # HTTP 基础授权 { #http-basic-auth }
    
    最简单的用例是使用 HTTP 基础授权(HTTP Basic Auth)。
    
    在 HTTP 基础授权中,应用需要请求头包含用户名与密码。
    
    如果没有接收到 HTTP 基础授权,就返回 HTTP 401 `"Unauthorized"` 错误。
    
    并返回响应头 `WWW-Authenticate`,其值为 `Basic`,以及可选的 `realm` 参数。
    
    HTTP 基础授权让浏览器显示内置的用户名与密码提示。
    
    输入用户名与密码后,浏览器会把它们自动发送至请求头。
    
    ## 简单的 HTTP 基础授权 { #simple-http-basic-auth }
    
    * 导入 `HTTPBasic` 与 `HTTPBasicCredentials`
    * 使用 `HTTPBasic` 创建**安全方案**
    * 在*路径操作*的依赖项中使用 `security`
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/advanced/security/http-basic-auth.md

    # HTTP 基本認證 { #http-basic-auth }
    
    在最簡單的情況下,你可以使用 HTTP Basic 認證。
    
    在 HTTP Basic 認證中,應用程式會期待一個包含使用者名稱與密碼的標頭。
    
    如果沒有接收到,會回傳 HTTP 401「Unauthorized」錯誤。
    
    並回傳一個 `WWW-Authenticate` 標頭,其值為 `Basic`,以及可選的 `realm` 參數。
    
    這會告訴瀏覽器顯示內建的使用者名稱與密碼提示視窗。
    
    接著,當你輸入該使用者名稱與密碼時,瀏覽器會自動在標頭中送出它們。
    
    ## 簡單的 HTTP 基本認證 { #simple-http-basic-auth }
    
    - 匯入 `HTTPBasic` 與 `HTTPBasicCredentials`。
    - 使用 `HTTPBasic` 建立一個「`security` scheme」。
    - 在你的*路徑操作*中以依賴的方式使用該 `security`。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  7. docs/en/docs/advanced/security/http-basic-auth.md

    # HTTP Basic Auth { #http-basic-auth }
    
    For the simplest cases, you can use HTTP Basic Auth.
    
    In HTTP Basic Auth, the application expects a header that contains a username and a password.
    
    If it doesn't receive it, it returns an HTTP 401 "Unauthorized" error.
    
    And returns a header `WWW-Authenticate` with a value of `Basic`, and an optional `realm` parameter.
    
    That tells the browser to show the integrated prompt for a username and password.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5K bytes
    - Click Count (0)
  8. docs/ko/docs/advanced/security/http-basic-auth.md

    # HTTP Basic Auth { #http-basic-auth }
    
    가장 단순한 경우에는 HTTP Basic Auth를 사용할 수 있습니다.
    
    HTTP Basic Auth에서는 애플리케이션이 사용자명과 비밀번호가 들어 있는 헤더를 기대합니다.
    
    이를 받지 못하면 HTTP 401 "Unauthorized" 오류를 반환합니다.
    
    그리고 값이 `Basic`이고 선택적으로 `realm` 파라미터를 포함하는 `WWW-Authenticate` 헤더를 반환합니다.
    
    이는 브라우저가 사용자명과 비밀번호를 입력하는 통합 프롬프트를 표시하도록 알려줍니다.
    
    그다음 사용자명과 비밀번호를 입력하면, 브라우저가 자동으로 해당 값을 헤더에 담아 전송합니다.
    
    ## 간단한 HTTP Basic Auth { #simple-http-basic-auth }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  9. fastapi/security/http.py

    class HTTPBasicCredentials(BaseModel):
        """
        The HTTP Basic credentials given as the result of using `HTTPBasic` in a
        dependency.
    
        Read more about it in the
        [FastAPI docs for HTTP Basic Auth](https://fastapi.tiangolo.com/advanced/security/http-basic-auth/).
        """
    
        username: Annotated[str, Doc("The HTTP Basic username.")]
        password: Annotated[str, Doc("The HTTP Basic password.")]
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 16 10:16:48 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  10. internal/logger/target/http/http.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package http
    
    import (
    	"bytes"
    	"context"
    	"errors"
    	"fmt"
    	"net/http"
    	"net/url"
    	"os"
    	"path/filepath"
    	"strconv"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	jsoniter "github.com/json-iterator/go"
    	xhttp "github.com/minio/minio/internal/http"
    	xioutil "github.com/minio/minio/internal/ioutil"
    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)
Back to Top