Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1201 - 1210 of 1,560 for respond (0.12 sec)

  1. fastapi/openapi/models.py

        parameters: Optional[Dict[str, Union[Any, str]]] = None
        requestBody: Optional[Union[Any, str]] = None
        description: Optional[str] = None
        server: Optional[Server] = None
    
    
    class Response(BaseModelWithConfig):
        description: str
        headers: Optional[Dict[str, Union[Header, Reference]]] = None
        content: Optional[Dict[str, MediaType]] = None
        links: Optional[Dict[str, Union[Link, Reference]]] = None
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 22:49:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. docs/ru/docs/alternatives.md

    Вот почему на официальном сайте написано:
    
    > Requests - один из самых загружаемых пакетов Python всех времен
    
    
    Использовать его очень просто. Например, чтобы выполнить запрос `GET`, Вы бы написали:
    
    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    Противоположная *операция пути* в FastAPI может выглядеть следующим образом:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  3. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

        val buf = Buffer()
        buf.write(byteString)
        buf.readShort() // query id
    
        val flags = buf.readShort().toInt() and 0xffff
        require(flags shr 15 != 0) { "not a response" }
    
        val responseCode = flags and 0xf
    
        if (responseCode == NXDOMAIN) {
          throw UnknownHostException("$hostname: NXDOMAIN")
        } else if (responseCode == SERVFAIL) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. istioctl/pkg/precheck/precheck_test.go

    		_, _, codec := cmdtesting.NewExternalScheme()
    		tf.UnstructuredClient = &fake.RESTClient{
    			NegotiatedSerializer: resource.UnstructuredPlusDefaultContentConfig().NegotiatedSerializer,
    			Resp: &http.Response{
    				StatusCode: http.StatusOK,
    				Header:     cmdtesting.DefaultHeader(),
    				Body: cmdtesting.ObjBody(codec,
    					cmdtesting.NewInternalType("", "", "foo")),
    			},
    		}
    		return tf
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 09 12:01:22 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. RELEASE.md

    based behaviors you can use `tf.truncatediv` and `tf.truncatemod`. *
    `tf.divide()` is now the recommended division function. `tf.div()` will remain,
    but its semantics do not respond to Python 3 or `from future` mechanisms. *
    tf.reverse() now takes indices of axes to be reversed. E.g. `tf.reverse(a,
    [True, False, True])` must now be written as `tf.reverse(a, [0, 2])`.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/AdminRelatedqueryAction.java

    import org.codelibs.fess.util.RenderDataUtil;
    import org.dbflute.optional.OptionalEntity;
    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.HtmlResponse;
    import org.lastaflute.web.response.render.RenderData;
    import org.lastaflute.web.ruts.process.ActionRuntime;
    
    import jakarta.annotation.Resource;
    
    /**
     * @author shinsuke
     */
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/path-operation-advanced-configuration.md

    ```
    
    ## Zusätzliche Responses
    
    Sie haben wahrscheinlich gesehen, wie man das `response_model` und den `status_code` für eine *Pfadoperation* deklariert.
    
    Das definiert die Metadaten der Haupt-Response einer *Pfadoperation*.
    
    Sie können auch zusätzliche Responses mit deren Modellen, Statuscodes usw. deklarieren.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/profile/ProfileAction.java

    import org.codelibs.fess.app.web.base.login.LocalUserCredential;
    import org.codelibs.fess.app.web.login.LoginAction;
    import org.codelibs.fess.mylasta.action.FessUserBean;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.HtmlResponse;
    import org.lastaflute.web.validation.VaErrorHook;
    
    import jakarta.annotation.Resource;
    
    public class ProfileAction extends FessSearchAction {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        /** The key of the configuration. e.g. 50 */
        String RESPONSE_MAX_TITLE_LENGTH = "response.max.title.length";
    
        /** The key of the configuration. e.g. 100 */
        String RESPONSE_MAX_SITE_PATH_LENGTH = "response.max.site.path.length";
    
        /** The key of the configuration. e.g. true */
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 468.5K bytes
    - Viewed (1)
  10. okhttp/src/main/kotlin/okhttp3/Connection.kt

     *  limitations under the License.
     */
    package okhttp3
    
    import java.net.Socket
    
    /**
     * The sockets and streams of an HTTP, HTTPS, or HTTPS+HTTP/2 connection. May be used for multiple
     * HTTP request/response exchanges. Connections may be direct to the origin server or via a proxy.
     *
     * Typically instances of this class are created, connected and exercised automatically by the HTTP
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top