Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for Headers (0.05 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                        if (properties != null && properties.length > 0) {
                            headers = new HashMap<>();
                            for (PlexusConfiguration property : properties) {
                                headers.put(
                                        property.getChild("name").getValue(),
                                        property.getChild("value").getValue());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. fastapi/security/oauth2.py

            authorization = request.headers.get("Authorization")
            scheme, param = get_authorization_scheme_param(authorization)
            if not authorization or scheme.lower() != "bearer":
                if self.auto_error:
                    raise HTTPException(
                        status_code=HTTP_401_UNAUTHORIZED,
                        detail="Not authenticated",
                        headers={"WWW-Authenticate": "Bearer"},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/header-param-models.md

    ### Checando a documentação
    
    Você pode ver os headers necessários na interface gráfica da documentação em `/docs`:
    
    <div class="screenshot">
    <img src="/img/tutorial/header-param-models/image01.png">
    </div>
    
    ### Proibindo Cabeçalhos adicionais
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 20:41:28 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. fastapi/dependencies/utils.py

        processed_keys = set()
    
        for field in fields_to_extract:
            alias = None
            if isinstance(received_params, Headers):
                # Handle fields extracted from a Pydantic Model for a header, each field
                # doesn't have a FieldInfo of type Header with the default convert_underscores=True
                convert_underscores = getattr(field.field_info, "convert_underscores", True)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  5. cmd/api-response.go

    		w.Header().Get(xhttp.AmzRequestID), w.Header().Get(xhttp.AmzRequestHostID))
    	encodedErrorResponse := encodeResponse(errorResponse)
    	writeResponse(w, err.HTTPStatusCode, encodedErrorResponse, mimeXML)
    }
    
    func writeErrorResponseHeadersOnly(w http.ResponseWriter, err APIError) {
    	w.Header().Set(xMinIOErrCodeHeader, err.Code)
    	w.Header().Set(xMinIOErrDescHeader, "\""+err.Description+"\"")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  6. doc/godebug.md

    [`net/http.ServeContent`](/pkg/net/http#ServeContent),
    [`net/http.ServeFile`](/pkg/net/http#ServeFile), and
    [`net/http.ServeFS`](/pkg/net/http#ServeFS) to
    remove Cache-Control, Content-Encoding, Etag, and Last-Modified headers
    when serving an error. This behavior is controlled by
    the [`httpservecontentkeepheaders` setting](/pkg/net/http#ServeContent).
    Using `httpservecontentkeepheaders=1` restores the pre-Go 1.23 behavior.
    
    ### Go 1.22
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 28 14:46:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

            client.execute(action, request, listener);
        }
    
        @Override
        public Client filterWithHeader(final Map<String, String> headers) {
            client.filterWithHeader(headers);
            return this;
        }
    
        public int deleteByQuery(final String index, final String type, final QueryBuilder queryBuilder) {
            SearchResponse response =
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  8. istioctl/pkg/describe/describe.go

    		if match.IgnoreUriCase {
    			retval += " uncased"
    		}
    	}
    
    	if len(match.Headers) > 0 {
    		headerConds := []string{}
    		for key, val := range match.Headers {
    			headerConds = append(headerConds, fmt.Sprintf("%s=%s", key, renderStringMatch(val)))
    		}
    		retval += " when headers are " + strings.Join(headerConds, "; ")
    	}
    
    	// TODO QueryParams, maybe Gateways
    	return strings.TrimSpace(retval)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/custom-response.md

    Você pode retorná-la diretamente.
    
    Ela aceita os seguintes parâmetros:
    
    * `content` - Uma sequência de caracteres (`str`) ou `bytes`.
    * `status_code` - Um código de status HTTP do tipo `int`.
    * `headers` - Um dicionário `dict` de strings.
    * `media_type` - Uma `str` informando o media type. E.g. `"text/html"`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:47:10 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                        legacySupport.getRepositorySession(), null, ConfigurationProperties.USER_AGENT);
    
                if (userAgent == null) {
                    Properties headers = new Properties();
    
                    headers.put(
                            "User-Agent",
                            ConfigUtils.getString(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
Back to top