What is this request header used for?
小邓
小邓 2019-09-16 21:46:54
0
1
910

原生ajaxde

request.setRequestHeader('content-type','application/x-www-form-urlencoded');

小邓
小邓

reply all(1)
(O_O)

When the action is get, the browser uses the x-www-form-urlencoded encoding method to convert the form data into a string (name1=value1&name2=value2...), then appends the string to the end of the url, splits it with ?, and loads it. this new url.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template