Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 421 - 430 of 799 for tenders (0.05 seconds)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt

              call: Call,
              response: Response,
            ) {
              response.use {
                if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
                for ((name, value) in response.headers) {
                  println("$name: $value")
                }
    
                println(response.body.string())
              }
            }
          },
        )
      }
    }
    
    fun main() {
      AsynchronousGet().run()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_dataclasses/test_tutorial002.py

        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.dataclasses_.{request.param}")
    
        client = TestClient(mod.app)
        client.headers.clear()
        return client
    
    
    def test_get_item(client: TestClient):
        response = client.get("/items/next")
        assert response.status_code == 200
        assert response.json() == {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  3. tests/test_tutorial/test_response_model/test_tutorial003_02.py

    
    def test_get_redirect():
        response = client.get("/portal", params={"teleport": True}, follow_redirects=False)
        assert response.status_code == 307, response.text
        assert response.headers["location"] == "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractQueueTester.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.AbstractCollectionTester;
    import java.util.Queue;
    import org.junit.Ignore;
    
    /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  5. guava-testlib/src/module-info.java

      exports com.google.common.collect.testing;
      exports com.google.common.collect.testing.features;
      exports com.google.common.collect.testing.google;
      exports com.google.common.collect.testing.testers;
      exports com.google.common.escape.testing;
      exports com.google.common.testing;
      exports com.google.common.util.concurrent.testing;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Apr 01 21:16:20 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.Helpers.getMethod;
    import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  7. docs_src/security/tutorial003_py39.py

        user = fake_decode_token(token)
        if not user:
            raise HTTPException(
                status_code=status.HTTP_401_UNAUTHORIZED,
                detail="Not authenticated",
                headers={"WWW-Authenticate": "Bearer"},
            )
        return user
    
    
    async def get_current_active_user(current_user: User = Depends(get_current_user)):
        if current_user.disabled:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  8. fastapi/openapi/models.py

    class ParameterInType(Enum):
        query = "query"
        header = "header"
        path = "path"
        cookie = "cookie"
    
    
    class Encoding(BaseModelWithConfig):
        contentType: Optional[str] = None
        headers: Optional[dict[str, Union["Header", Reference]]] = None
        style: Optional[str] = None
        explode: Optional[bool] = None
        allowReserved: Optional[bool] = None
    
    
    class MediaType(BaseModelWithConfig):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  9. internal/hash/reader.go

    // https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
    // Returns ErrInvalidChecksum if a problem with the checksum is found.
    func (r *Reader) AddChecksumNoTrailer(headers http.Header, ignoreValue bool) error {
    	cs, err := GetContentChecksum(headers)
    	if err != nil {
    		return ErrInvalidChecksum
    	}
    	if cs == nil {
    		return nil
    	}
    	r.contentHash = *cs
    	return r.AddNonTrailingChecksum(cs, ignoreValue)
    }
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jun 25 15:08:54 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  10. docs/es/docs/tutorial/path-params-numeric-validations.md

    Así que puedes declarar tu función como:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial002_py39.py hl[7] *}
    
    Pero ten en cuenta que si usas `Annotated`, no tendrás este problema, no importará ya que no estás usando los valores por defecto de los parámetros de la función para `Query()` o `Path()`.
    
    {* ../../docs_src/path_params_numeric_validations/tutorial002_an_py39.py *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.4K bytes
    - Click Count (0)
Back to Top