henix / scetty Goto Github PK
View Code? Open in Web Editor NEWScala async http client based on jetty-client
Scala async http client based on jetty-client
只有 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);
有时希望 encode 出来的参数顺序跟传入的参数完全一致。某些网站可能会有这类要求。
影响:Url.query()
测试地址:
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.