Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 87 for urlEncode (0.12 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

                        responseParams.stream().forEach(p -> {
                            try {
                                buf.append(URLEncoder.encode(p.getFirst(), encoding));
                                buf.append('=');
                                buf.append(URLEncoder.encode(p.getSecond(), encoding));
                            } catch (final UnsupportedEncodingException e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.go;
    
    import java.io.IOException;
    import java.io.UnsupportedEncodingException;
    import java.net.URLEncoder;
    import java.util.Map;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.net.URLUtil;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/request-forms.md

    ///
    
    ## 关于 "表单字段"
    
    与 JSON 不同,HTML 表单(`<form></form>`)向服务器发送数据通常使用「特殊」的编码。
    
    **FastAPI** 要确保从正确的位置读取数据,而不是读取 JSON。
    
    /// note | "技术细节"
    
    表单数据的「媒体类型」编码一般为 `application/x-www-form-urlencoded`。
    
    但包含文件的表单编码为 `multipart/form-data`。文件处理详见下节。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt

        assertThat(request.method).isEqualTo("POST")
        assertThat(request.url.toString()).isEqualTo("http://example.com/")
        assertThat(body!!.contentType().toString()).isEqualTo(
          "application/x-www-form-urlencoded; charset=utf-8",
        )
        assertThat(bodyAsString(body)).isEqualTo("foo")
      }
    
      @Test
      fun dataPut() {
        val request = fromArgs("-d", "foo", "-X", "PUT", "http://example.com").createRequest()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/request-forms.md

    **FastAPI** will make sure to read that data from the right place instead of JSON.
    
    /// note | "Technical Details"
    
    Data from forms is normally encoded using the "media type" `application/x-www-form-urlencoded`.
    
    But when the form includes files, it is encoded as `multipart/form-data`. You'll read about handling files in the next chapter.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. tests/test_forms_single_param.py

                        "summary": "Post Form",
                        "operationId": "post_form_form__post",
                        "requestBody": {
                            "content": {
                                "application/x-www-form-urlencoded": {
                                    "schema": {
                                        "$ref": "#/components/schemas/Body_post_form_form__post"
                                    }
                                }
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 05 11:24:36 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.helper;
    
    import java.io.UnsupportedEncodingException;
    import java.net.URLEncoder;
    import java.util.ArrayList;
    import java.util.Base64;
    import java.util.Collections;
    import java.util.Date;
    import java.util.HashMap;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Map;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

    import java.io.File;
    import java.io.FileInputStream;
    import java.io.InputStream;
    import java.io.UnsupportedEncodingException;
    import java.net.URI;
    import java.net.URISyntaxException;
    import java.net.URLEncoder;
    import java.nio.file.Files;
    import java.nio.file.attribute.AclFileAttributeView;
    import java.nio.file.attribute.FileOwnerAttributeView;
    import java.nio.file.attribute.PosixFileAttributeView;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/request-forms.md

    HTMLフォーム(`<form></form>`)がサーバにデータを送信する方法は、通常、そのデータに「特別な」エンコーディングを使用していますが、これはJSONとは異なります。
    
    **FastAPI** は、JSONの代わりにそのデータを適切な場所から読み込むようにします。
    
    /// note | "技術詳細"
    
    フォームからのデータは通常、`application/x-www-form-urlencoded`の「media type」を使用してエンコードされます。
    
    しかし、フォームがファイルを含む場合は、`multipart/form-data`としてエンコードされます。ファイルの扱いについては次の章で説明します。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/error/redirect.jsp

    	redirectPage.append("/error/badrequest/");
    	response.sendRedirect(redirectPage.toString());
    } else if(!"badAuth".equals(type)) {
    	redirectPage.append("/error/notfound/?url=");
    	redirectPage.append(java.net.URLEncoder.encode(requestUri , "UTF-8"));
    	response.sendRedirect(redirectPage.toString());
    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Dec 23 06:18:48 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top