Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 431 - 440 of 826 for tenders (0.07 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 Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  2. tests/test_json_type.py

        )
        assert response.status_code == 200, response.text
        assert response.json() == ["abc", "def"]
    
    
    def test_header_json_list():
        response = client.get(
            "/header-json-list", headers={"x-items": json.dumps(["abc", "def"])}
        )
        assert response.status_code == 200, response.text
        assert response.json() == ["abc", "def"]
    
    
    def test_cookie_json_list():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 18:41:43 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  3. tests/test_repeated_dependency_schema.py

    @app.get("/")
    def get_deps(dep1: str = Depends(get_header), dep2: str = Depends(get_something_else)):
        return {"dep1": dep1, "dep2": dep2}
    
    
    client = TestClient(app)
    
    
    def test_response():
        response = client.get("/", headers={"someheader": "hello"})
        assert response.status_code == status.HTTP_200_OK
        assert response.json() == {"dep1": "hello", "dep2": "hello123"}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/Platform.java

     * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  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.errorprone.annotations.FormatMethod;
    import java.util.Locale;
    
    /**
     * This class is emulated in GWT.
     *
     * @author Hayward Chan
     */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  6. 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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Apr 01 21:16:20 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  7. 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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  8. tests/test_security_api_key_query_description.py

    
    def test_security_api_key_no_key():
        response = client.get("/users/me")
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Not authenticated"}
        assert response.headers["WWW-Authenticate"] == "APIKey"
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  9. 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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. fastapi/security/oauth2.py

            """
            return HTTPException(
                status_code=HTTP_401_UNAUTHORIZED,
                detail="Not authenticated",
                headers={"WWW-Authenticate": "Bearer"},
            )
    
        async def __call__(self, request: Request) -> str | None:
            authorization = request.headers.get("Authorization")
            if not authorization:
                if self.auto_error:
                    raise self.make_not_authenticated_error()
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Mar 24 16:32:10 GMT 2026
    - 23.6K bytes
    - Click Count (0)
Back to Top