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
HTTP Status Response code explanation/DaquanThe HTTP status code is a 3-bit numeric code that represents the HTTP response status of the Web server. It is defined by the RFC 2616 specification and is extended by RFC 2518, RFC 2817, RFC 2295, RFC 2774
Invalid HTTP 400– requestHTTP 401.1– not authorized: Logon failedHTTP 401.2– not authorized: Login failed due to server configuration problemHTTP 401.3–acl prohibit access to resourcesHTTP 401.4– not authorized: Authorization denied by filterHTTP 401
100
The client should continue to send the request. This temporary response is used to inform the client that some of its requests have been received by the server and are still not rejected. The client should continue to send the remainder of
The HTTP status Code (response code) is used to indicate whether the HTTP request has completed successfully. The HTTP response type is divided into five categories: message response, successful response, redirect, client error, server-side
Http response status code and response status code
From: http://hi.baidu.com/starsecond/blog/item/de75458a3cb1b51ac9fc7a6a.html
========================================================== ==========================================
100
It is easy to use Java to implement cross-origin access. It turns out that the Java net package can be used to implement connection URL, post, get value or something.
Of course, you can also use a third-party method like httpclient.
The problem
When invoking the URLConnection POST request on the Java backend, the browser test (ASMX) is normal, and the Java back-end returns the server returned HTTP response code:500 for URL:
Problem reason after carefully checking URL and request
Status Codes and type status codes of SIP response messagesTemporary response (1xx) 100 trying in process180 ringing181 call being forwarder call forward182 queue181 * session progress session
Successful SESSION (2XX) 200 OK session
Http request and response, Http Request Response
The Http Protocol specifies the Request format sent by the browser and the Response format sent by the Web server.
The request consists of three parts:
Requset line: Request line, located in the
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.