Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 962 for Encode (0.07 sec)

  1. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                }
    
                // decode
                if (!isSmbOrFtpUrl) {
                    // file
                    try {
                        url = URLDecoder.decode(url.replace("+", "%2B"), urlLinkEncoding);
                    } catch (final Exception e) {
                        if (logger.isDebugEnabled()) {
                            logger.warn("Failed to decode {}", url, e);
                        }
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

                        break;
                    }
                }
            } catch (final ErrorResponseException e) {
                final String code = e.errorResponse().code();
                if ("NoSuchBucket".equals(code)) {
                    final MinioClient minioClient = createClient(fessConfig);
                    try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. docs_src/security/tutorial004_an.py

        if expires_delta:
            expire = datetime.now(timezone.utc) + expires_delta
        else:
            expire = datetime.now(timezone.utc) + timedelta(minutes=15)
        to_encode.update({"exp": expire})
        encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM)
        return encoded_jwt
    
    
    async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]):
        credentials_exception = HTTPException(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. docs/em/docs/advanced/middleware.md

    {!../../docs_src/advanced_middleware/tutorial003.py!}
    ```
    
    πŸ“„ ❌ πŸ•β€πŸ¦Ί:
    
    * `minimum_size` - 🚫 πŸ—œ πŸ“¨ πŸ‘ˆ πŸ€ͺ 🌘 πŸ‘‰ πŸ’― πŸ“ πŸ”’. πŸ”’ `500`.
    
    ## 🎏 πŸ› οΈ
    
    πŸ“€ πŸ“š 🎏 πŸ”« πŸ› οΈ.
    
    πŸ–Ό:
    
    * <a href="https://github.com/encode/uvicorn/blob/master/uvicorn/middleware/proxy_headers.py" class="external-link" target="_blank">Uvicorn `ProxyHeadersMiddleware`</a>
    * <a href="https://github.com/florimondmanca/msgpack-asgi" class="external-link" target="_blank">πŸ‡ΈπŸ‡²</a>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. istioctl/pkg/multicluster/remote_secret.go

    	return c
    }
    
    func createRemoteServiceAccountSecret(kubeconfig *api.Config, clusterName, secName string) (*v1.Secret, error) { // nolint:interfacer
    	var data bytes.Buffer
    	if err := latest.Codec.Encode(kubeconfig, &data); err != nil {
    		return nil, err
    	}
    	key := clusterName
    	if secName == configSecretName {
    		key = configSecretKey
    	}
    	out := &v1.Secret{
    		ObjectMeta: metav1.ObjectMeta{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  6. docs_src/security/tutorial005_py310.py

        if expires_delta:
            expire = datetime.now(timezone.utc) + expires_delta
        else:
            expire = datetime.now(timezone.utc) + timedelta(minutes=15)
        to_encode.update({"exp": expire})
        encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM)
        return encoded_jwt
    
    
    async def get_current_user(
        security_scopes: SecurityScopes, token: str = Depends(oauth2_scheme)
    ):
        if security_scopes.scopes:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. cmd/erasure-decode_test.go

    		for i, disk := range disks {
    			writers[i] = newBitrotWriter(disk, "", "testbucket", "object", erasure.ShardFileSize(test.data), writeAlgorithm, erasure.ShardSize())
    		}
    		n, err := erasure.Encode(context.Background(), bytes.NewReader(data), writers, buffer, erasure.dataBlocks+1)
    		closeBitrotWriters(writers)
    		if err != nil {
    			t.Fatalf("Test %d: failed to create erasure test file: %v", i, err)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                                    buf.append('&');
                                    buf.append(LdiURLUtil.encode(name, Constants.UTF_8));
                                    buf.append('=');
                                    buf.append(LdiURLUtil.encode(value, Constants.UTF_8));
                                }
                            }
                        }
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. cmd/acl-handlers.go

    		Grantee: grantee{
    			XMLNS:  "http://www.w3.org/2001/XMLSchema-instance",
    			XMLXSI: "CanonicalUser",
    			Type:   "CanonicalUser",
    		},
    		Permission: "FULL_CONTROL",
    	})
    
    	if err := xml.NewEncoder(w).Encode(acl); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    }
    
    // PutObjectACLHandler - PUT Object ACL
    // -----------------
    // This operation uses the ACL subresource
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java

                SMBUtil.writeInt4(0, dst, inBufferLengthOffset);
            }
            else {
                SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, inBufferOffsetOffset);
                int len = this.inputBuffer.encode(dst, dstIndex);
                SMBUtil.writeInt4(len, dst, inBufferLengthOffset);
                dstIndex += len;
            }
            return dstIndex - start;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 10:41:31 UTC 2021
    - 5.6K bytes
    - Viewed (0)
Back to top