Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 23 for 302 (0.01 seconds)

  1. docs_src/custom_response/tutorial006c_py310.py

    from fastapi import FastAPI
    from fastapi.responses import RedirectResponse
    
    app = FastAPI()
    
    
    @app.get("/pydantic", response_class=RedirectResponse, status_code=302)
    async def redirect_pydantic():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 237 bytes
    - Click Count (0)
  2. docs_src/additional_responses/tutorial004_py310.py

    from fastapi.responses import FileResponse
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        id: str
        value: str
    
    
    responses = {
        404: {"description": "Item not found"},
        302: {"description": "The item was moved"},
        403: {"description": "Not enough privileges"},
    }
    
    
    app = FastAPI()
    
    
    @app.get(
        "/items/{item_id}",
        response_model=Item,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 669 bytes
    - Click Count (0)
  3. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

        }
    
        synchronized (this) {
          listeners.remove(state);
        }
    
        // Success!
        return new MockResponse()
            .setResponseCode(302)
            .addHeader("Location", "https://twitter.com/CuteEmergency/status/789457462864863232");
      }
    
      public interface Listener {
        void sessionGranted(OAuthSession session);
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 3.8K bytes
    - Click Count (1)
  4. internal/s3select/sql/jsondata/books.json

                "type": "Hardcover",
                "pages": 256
            },
            {
                "year": 1934,
                "publisher": "Dodd Mead and Company (New York)",
                "type": "Hardcover",
                "pages": 302
            },
            {
                "year": 2011,
                "publisher": "Harper Collins",
                "type": "Paperback",
                "pages": 265
            }
        ]
    }
    {
        "title": "The Robots of Dawn",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  5. docs/features/calls.md

    If a conditional GET was successful, responses from the network and cache are merged as directed by the spec.
    
    ## Follow-up Requests
    
    When your requested URL has moved, the webserver will return a response code like `302` to indicate the document’s new URL. OkHttp will follow the redirect to retrieve a final response.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt

            assertThat(suppressed).isNotSameAs(expected)
          }
        }
      }
    
      @Test
      fun responseRequestIsLastRedirect() {
        server.enqueue(
          MockResponse(
            code = 302,
            headers = headersOf("Location", "/b"),
          ),
        )
        server.enqueue(MockResponse())
    
        val request = Request(server.url("/"))
        val call = client.newCall(request)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  7. cmd/storagemetric_string.go

    Harshavardhana <******@****.***> 1723451895 -0700
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Aug 12 08:38:15 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyDispatcher.java

    import org.apache.maven.execution.ExecutionListener;
    import org.eclipse.aether.RepositoryListener;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Dispatches callbacks to all registered EventSpies.
     * @since 3.0.2
     */
    @Named
    @Singleton
    public class EventSpyDispatcher {
        private final Logger logger = LoggerFactory.getLogger(getClass());
    
        private final List<EventSpy> eventSpies;
    
        @Inject
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/eventspy/AbstractEventSpy.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.eventspy;
    
    /**
     * A skeleton eventspy that does nothing other than helping implementors.
     * @since 3.0.2
     */
    public abstract class AbstractEventSpy implements EventSpy {
    
        @Override
        public void init(Context context) throws Exception {}
    
        @Override
        public void onEvent(Object event) throws Exception {}
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  10. src/test/resources/plugin/repo3/fess-crawler-lasta/maven-metadata.xml

          <version>2.6.2</version>
          <version>2.6.3</version>
          <version>2.7.0</version>
          <version>2.7.1</version>
          <version>3.0.0</version>
          <version>3.0.1</version>
          <version>3.0.2</version>
          <version>3.1.0</version>
          <version>3.2.0</version>
          <version>3.2.1</version>
          <version>3.3.0</version>
          <version>3.3.1</version>
          <version>3.3.2</version>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jun 17 13:30:41 GMT 2024
    - 4.3K bytes
    - Click Count (0)
Back to Top