Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1091 - 1100 of 1,838 for RESPONSE (0.04 sec)

  1. samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt

        val request =
          client
            .newRequest(server.url("/").toUri())
            .header("Accept", "text/plain")
        val response = request.send()
        assertThat(response.status).isEqualTo(200)
        assertThat(response.contentAsString).isEqualTo("hello, Jetty HTTP Client")
    
        val recorded = server.takeRequest()
        assertThat(recorded.headers["Accept"]).isEqualTo("text/plain")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/base/FessLoginAction.java

         */
        public FessLoginAction() {
            super();
        }
    
        /**
         * Returns the appropriate HTML response for login handling.
         * If a user is already authenticated, redirects to the appropriate admin interface.
         * Otherwise, displays the login page.
         *
         * @return HTML response for login page or redirect to admin interface
         */
        protected HtmlResponse getHtmlResponse() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. docs_src/response_directly/tutorial002_py39.py

    from fastapi import FastAPI, Response
    
    app = FastAPI()
    
    
    @app.get("/legacy/")
    def get_legacy_data():
        data = """<?xml version="1.0"?>
        <shampoo>
        <Header>
            Apply shampoo here.
        </Header>
        <Body>
            You'll have to use soap here.
        </Body>
        </shampoo>
        """
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 354 bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeConnection.java

            }
        }
    
        <T extends CommonServerMessageBlockResponse> T send(final SmbResourceLocatorImpl loc, final CommonServerMessageBlockRequest request,
                final T response, final RequestParam... params) throws CIFSException {
            return send(loc, request, response,
                    params.length == 0 ? EnumSet.noneOf(RequestParam.class) : EnumSet.copyOf(Arrays.asList(params)));
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  5. src/main/java/org/codelibs/fess/suggest/index/SuggestDeleteResponse.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.index;
    
    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * Represents the response of a suggest delete operation.
     * This class contains information about any errors that occurred during the operation
     * and the time taken to complete the operation.
     */
    public class SuggestDeleteResponse {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. fastapi/exception_handlers.py

    from starlette.requests import Request
    from starlette.responses import JSONResponse, Response
    from starlette.status import WS_1008_POLICY_VIOLATION
    
    
    async def http_exception_handler(request: Request, exc: HTTPException) -> Response:
        headers = getattr(exc, "headers", None)
        if not is_body_allowed_for_status_code(exc.status_code):
            return Response(status_code=exc.status_code, headers=headers)
        return JSONResponse(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 16 17:21:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  7. tests/test_security_scopes_dont_propagate.py

    ):
        return dep3
    
    
    client = TestClient(app)
    
    
    def test_security_scopes_dont_propagate():
        response = client.get("/scopes")
        assert response.status_code == 200
        assert response.json() == {
            "dep1": ["scope3", "scope1"],
            "dep2": ["scope3", "scope2"],
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 973 bytes
    - Viewed (0)
  8. docs_src/response_model/tutorial003_04_py310.py

    from fastapi import FastAPI, Response
    from fastapi.responses import RedirectResponse
    
    app = FastAPI()
    
    
    @app.get("/portal")
    async def get_portal(teleport: bool = False) -> Response | dict:
        if teleport:
            return RedirectResponse(url="https://www.youtube.com/watch?v=dQw4w9WgXcQ")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Jan 10 16:22:47 UTC 2023
    - 352 bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

    import jcifs.internal.smb2.io.Smb2ReadResponse;
    import jcifs.internal.smb2.io.Smb2WriteRequest;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    import jcifs.util.transport.Response;
    
    /**
     * SMB2 Negotiate Protocol response message.
     *
     * This response contains the server's protocol capabilities,
     * security mode, and negotiated dialect version.
     *
     * @author mbechler
     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  10. docs_src/settings/app02_py39/test_main.py

    
    def get_settings_override():
        return Settings(admin_email="******@****.***")
    
    
    app.dependency_overrides[get_settings] = get_settings_override
    
    
    def test_app():
        response = client.get("/info")
        data = response.json()
        assert data == {
            "app_name": "Awesome API",
            "admin_email": "******@****.***",
            "items_per_user": 50,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 515 bytes
    - Viewed (0)
Back to top