Giter Club home page Giter Club logo

scetty's People

Contributors

henix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

scetty's Issues

request 添加参数

只有 body 和header ,建议再添加 parameter吧:
/**
* Adds a query parameter with the given name and value.
* The value is {@link URLEncoder#encode(String, String) UTF-8 URL encoded}.
*
* @param name the name of the query parameter
* @param value the value of the query parameter
* @return this request object
*/
Request param(String name, String value);

url path 中的非 ASCII 字符没有被正确编码

测试地址:

http://www.amazon.co.jp/GRAVITY-DAZE-重力的眩暈:上層への帰還において、彼女の内宇宙に生じた摂動-ザ・コンプリートガイド-電撃プレイステーション編集部/dp/4048865838/ref=pd_sim_sbs_63_3?ie=UTF8&dpID=51Dnkqu908L&dpSrc=sims&preST=_AC_UL160_SR113%2C160_&refRID=1KRA2X37W2RBX7PVGTY3

根据 RFC3986 ,所有非 ASCII 字符必须编码。但抓包发现实际发送的 HTTP 请求是:

GET /GRAVITY-DAZE-?????????????????????????????-???????????-??????????????/dp/4048865838/ref=pd_sim_sbs_63_3?ie=UTF8&dpID=51Dnkqu908L&dpSrc=sims&preST=_AC_UL160_SR113%2C160_&refRID=1KRA2X37W2RBX7PVGTY3 HTTP/1.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.