Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for textproto (0.16 sec)

  1. cmd/handler-utils.go

    func extractMetadataFromReq(ctx context.Context, r *http.Request) (metadata map[string]string, err error) {
    	return extractMetadata(ctx, textproto.MIMEHeader(r.Form), textproto.MIMEHeader(r.Header))
    }
    
    func extractMetadata(ctx context.Context, mimesHeader ...textproto.MIMEHeader) (metadata map[string]string, err error) {
    	metadata = make(map[string]string)
    
    	for _, hdr := range mimesHeader {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
  2. cmd/handler-utils_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/xml"
    	"io"
    	"net/http"
    	"net/textproto"
    	"os"
    	"reflect"
    	"testing"
    
    	"github.com/minio/minio/internal/config"
    )
    
    // Tests validate bucket LocationConstraint.
    func TestIsValidLocationConstraint(t *testing.T) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    package cmd
    
    import (
    	"archive/tar"
    	"bytes"
    	"context"
    	"encoding/hex"
    	"encoding/xml"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    	"net/http/httptest"
    	"net/textproto"
    	"net/url"
    	"os"
    	"sort"
    	"strconv"
    	"strings"
    	"sync/atomic"
    	"time"
    	"unicode"
    
    	"github.com/google/uuid"
    	"github.com/klauspost/compress/gzhttp"
    	miniogo "github.com/minio/minio-go/v7"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  4. internal/bucket/object/lock/lock.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package lock
    
    import (
    	"bytes"
    	"context"
    	"encoding/xml"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    	"net/textproto"
    	"strings"
    	"time"
    
    	"github.com/beevik/ntp"
    	"github.com/minio/minio/internal/amztime"
    	xhttp "github.com/minio/minio/internal/http"
    
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/env"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  5. cmd/bucket-handlers.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"crypto/md5"
    	"encoding/base64"
    	"encoding/hex"
    	"encoding/json"
    	"encoding/xml"
    	"errors"
    	"fmt"
    	"io"
    	"mime/multipart"
    	"net/http"
    	"net/textproto"
    	"net/url"
    	"path"
    	"runtime"
    	"sort"
    	"strconv"
    	"strings"
    	"sync"
    
    	"github.com/google/uuid"
    	"github.com/minio/mux"
    	"github.com/valyala/bytebufferpool"
    
    	"github.com/minio/madmin-go/v3"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  6. cmd/utils.go

    	if getCert == nil {
    		return nil
    	}
    
    	tlsConfig := &tls.Config{
    		PreferServerCipherSuites: true,
    		MinVersion:               tls.VersionTLS12,
    		NextProtos:               []string{"http/1.1", "h2"},
    		GetCertificate:           getCert,
    		ClientSessionCache:       tls.NewLRUClientSessionCache(tlsClientSessionCacheSize),
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top