Weird jquery ajax Satus 200 ErrorToday, I do not know how to solve the problem. In this case, it is not because jquery's Ajax writing failed, nor did the request fail, what is it?1. jquery's main parameters for Ajax requestsBeforesend: Before
Http status code (200, 404, 500, etc.) (to CSDN), 500 and other csdn
When we send a request from a client to the serverThe server returns the status code to us.The status code is the status of the server response.Through this, we can know whether
In the actual application of the site construction, prone to a lot of small mistakes, like MySQL was optimized not in place, the impact of the overall site browsing effect, in fact, the site's regular HTTP status code performance is the same, Google
Data format for ————————————————————————————————————————— * * * Response http/1.1 ok server:apache-coyote/1.1 accept-ranges:bytes etag:w/"27-1432777730225" last-modified:thu, 01:48:50 GMT Content-type:text/html content-length:27 date:thu, 07:03:3
The error NSLocalizedDescription = Expected status code in (200-299), got 400 is reported in the iOS post request.
When AFNetworking postJSON data is used, I am prompted at the beginning: // Error Domain = NSURLErrorDomain Code =-1007 "too rewrite
The status code of the HTTP at the time of the jump is generally one of 200,301,302, the following lists the status code occurrence, and then explain the different status code what is the difference:
Jump for status Code 200:
1.
2. Server.Transfer
Before you get to 404 pages, let's get a look at some common HTTP status codes.* 404: The requested Web page does not exist (does not exclude the possibility that the link will be valid later);* 410: The requested Web page does not exist (permanent);
There is a very nasty problem in development today:With the Ajax submission in jquery, found that if the parameters of a number of parameters, the background normal return 200 status code will also go to error:function.1. Parameter data:
There is a very disgusting problem in development today:Commit with Ajax in jquery. Find the number of parameters in the assumed parameter. Background normal return 200 status code case will also go to error:function.1. Parameter data:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.