Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 881 - 890 of 1,156 for orjson (0.04 seconds)

  1. cmd/object-api-utils_test.go

    // with following object names "\\../.minio.sys/config/iam/${username}/identity.json"
    // #16852
    func testPathTraversalExploit(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler,
    	credentials auth.Credentials, t *testing.T,
    ) {
    	if err := newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatalf("Initializing config.json failed")
    	}
    
    	objectName := `\../.minio.sys/config/hello.txt`
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/entity/SearchRequestParams.java

         */
        public enum SearchRequestType {
            /** Search request type. */
            SEARCH,
            /** Admin search request type. */
            ADMIN_SEARCH,
            /** JSON request type. */
            JSON,
            /** GSA request type. */
            GSA,
            /** Suggest request type. */
            SUGGEST;
        }
    
        /**
         * Returns the response fields.
         *
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8K bytes
    - Click Count (0)
  3. docs/fr/docs/tutorial/query-params.md

    Si vous ouvrez une URL comme :
    
    ```
    http://127.0.0.1:8000/items/foo-item
    ```
    
    ...sans ajouter le paramètre requis `needy`, vous aurez une erreur :
    
    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "query",
                    "needy"
                ],
                "msg": "field required",
                "type": "value_error.missing"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 5.6K bytes
    - Click Count (0)
  4. cmd/main.go

    		Name:  "quiet",
    		Usage: "disable startup and info messages",
    	},
    	cli.BoolFlag{
    		Name:  "anonymous",
    		Usage: "hide sensitive information from logging",
    	},
    	cli.BoolFlag{
    		Name:  "json",
    		Usage: "output logs in JSON format",
    	},
    	// Deprecated flag, so its hidden now, existing deployments will keep working.
    	cli.BoolFlag{
    		Name:   "compat",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jul 30 22:59:48 GMT 2024
    - 6.5K bytes
    - Click Count (0)
  5. docs_src/additional_responses/tutorial002_py310.py

    
    app = FastAPI()
    
    
    @app.get(
        "/items/{item_id}",
        response_model=Item,
        responses={
            200: {
                "content": {"image/png": {}},
                "description": "Return the JSON item or an image.",
            }
        },
    )
    async def read_item(item_id: str, img: bool | None = None):
        if img:
            return FileResponse("image.png", media_type="image/png")
        else:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 596 bytes
    - Click Count (0)
  6. tests/test_security_scopes_sub_dependency.py

        assert call_counts["get_db_session"] == 1
        assert call_counts["get_current_user"] == 2
        assert call_counts["get_user_me"] == 2
        assert call_counts["get_user_items"] == 1
        assert response.json() == {
            "user_me": {
                "user_me": "user_me_1",
                "current_user": {
                    "user": "user_1",
                    "scopes": ["me"],
                    "db_session": "db_session_1",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  7. .teamcity/pluginData/Check/plugin-settings.xml

            <build-type id="bt270451" />
          </build-types>
        </webhook>
        <webhook url="https://gradle-bot.grdev.net/teamcity" enabled="true" template="legacy-tailored-json">
          <states>
            <state type="buildAddedToQueue" enabled="false" />
            <state type="buildRemovedFromQueue" enabled="false" />
            <state type="buildStarted" enabled="false" />
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue May 18 02:15:16 GMT 2021
    - 2.2K bytes
    - Click Count (0)
  8. internal/auth/credentials_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 auth
    
    import (
    	"encoding/json"
    	"testing"
    	"time"
    )
    
    func TestExpToInt64(t *testing.T) {
    	testCases := []struct {
    		exp             any
    		expectedFailure bool
    	}{
    		{"", true},
    		{"-1", true},
    		{"1574812326", false},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  9. docs/ko/docs/tutorial/request-files.md

    /// info | 정보
    
    `File` 은 `Form` 으로부터 직접 상속된 클래스입니다.
    
    하지만 `fastapi`로부터 `Query`, `Path`, `File` 등을 임포트 할 때, 이것들은 특별한 클래스들을 반환하는 함수라는 것을 기억하기 바랍니다.
    
    ///
    
    /// tip | 팁
    
    File의 본문을 선언할 때, 매개변수가 쿼리 매개변수 또는 본문(JSON) 매개변수로 해석되는  것을 방지하기 위해 `File` 을 사용해야합니다.
    
    ///
    
    파일들은 "폼 데이터"의 형태로 업로드 됩니다.
    
    *경로 작동 함수*의 매개변수를 `bytes` 로 선언하는 경우 **FastAPI**는 파일을 읽고 `bytes` 형태의 내용을 전달합니다.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 8K bytes
    - Click Count (0)
  10. docs_src/app_testing/tutorial002_py39.py

        await websocket.close()
    
    
    def test_read_main():
        client = TestClient(app)
        response = client.get("/")
        assert response.status_code == 200
        assert response.json() == {"msg": "Hello World"}
    
    
    def test_websocket():
        client = TestClient(app)
        with client.websocket_connect("/ws") as websocket:
            data = websocket.receive_json()
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 757 bytes
    - Click Count (0)
Back to Top