- From: sam <notifications@github.com>
- Date: Fri, 08 Jul 2016 23:18:23 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc:
Received on Saturday, 9 July 2016 06:18:53 UTC
``` // body const body = raw_list.join('&'); // header const headers = new Headers(); headers.set('Content-Type', 'application/x-www-form-urlencoded'); headers.set('Accept', 'application/json, text/javascript, */*;'); const fetch_options = { method: 'POST', headers, body, credentials: 'include' }; // fetch fetch(api_uri, fetch_options) ``` The body lookes like this before fetching: > a=1&b=5p7zv9+5M7 But, my server got this: > a=1&b=5p7zv9 5M7 It replace the **+** with a space.I use the Jquery.ajax and send the same data,the server got the right thing with **+**. So how can I avoid the **+** to be replaced --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/331
Received on Saturday, 9 July 2016 06:18:53 UTC