SIP Message Type and Message format
SIP is a text-based protocol that uses the UTF-8 character set.
There are two main types of SIP messages:
One is the request sent from the client to the server );
One is the response message sent from the server
Session Initiation Protocol (SIP) is a control (signaling) Protocol for the application layer of Network calls and conferences. It is mainly a multimedia communication protocol based on an IP network. All the signaling functions it can implement
ArticleDirectory
1. Lexical Analysis
2. syntax analysis
3. Message Body Structure Management
4. Generate intermediate code
5. Todo
The previous blog explains how to automatically distribute messages in C ++. The key point
SIP (Session Initiation Protocol) Conversation Initiation Protocol is an application layer control (signaling) protocol for network telephony and conferencing. It is mainly a multimedia communication protocol based on IP network. It can realize the
URL of the HTTP protocolAn HTTP url (a URL is a special type of URI.) A format that includes sufficient information to find a resource) such as the following:http://host[":" Port][abs_path]HTTP means to locate network resources through HTTP protocol;
Live from the RTSP protocol (Transport Media stream) to the HTTP TS (ts shard after TS partition encoder, HTML file) (Apple's live streaming scenario) conversion effort.HTTP Live Streaming (abbreviated as HLS) is an HTTP-based streaming network
SIP response code
The response code is included, and the HTTP/1.1 response code is extended. Not all HTTP/1.1 Response codes are properly applied, but only pointed out in the discount. Other HTTP/1.1 Response codes should not be used. In addition,
If you send a request to your server to display a webpage on your website (for example, when a user accesses your webpage through a browser or crawls the webpage on googlebot, your server returns the HTTP statusCodeTo respond to this request.
This
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
Java Web Summary (1), Java Web Summary (
When learning about the Web application client interface design, we already know that a basic Web application requires Web servers, Web Client browsers, HTTP protocols, and static HTML files.
Web server:
Because there is not a large number of connections to the small Web server requirements, not to use the heavy-weight server, so you write a server.It also provides a simple web framework. It's easy to use.The broad requirements include
Able
Preface
In the previous article using the Message class ( above ) , This article describes the basic knowledge of using the message class in WCF and how to create a message, this article is to undertake the previous article, if you want to
Michttp Error List
HTTP 400-invalid requestHTTP 401.1-unauthorized: Logon FailedHTTP 401.2-unauthorized: logon fails due to server configuration problemsHTTP 401.3-ACL prohibit Resource AccessHTTP 401.4-unauthorized: Authorization denied by
500 is a server error400 is a clinet Error300 route change200 OKThe response code, although it is sip, is also applicable to HTTP, but adds somethingResponse CodeThe response code is included, and the HTTP/1.1 response code is extended. Not all HTTP/
Class Mitmproxy.flow. Error (msg:str, timestamp = none) → None
An error.
This differs from the protocol error response (for example, HTTP Code 500), which is represented by a generic HttpResponse object. This class is responsible for indicating
Handling 4xx responses
A specific 4xx response requires the processing of a specific UA instead of the Request Method.
If a 401 (unauthorized) or 407 (proxy authentication required) response is received, UAC should carry the credential to retry the
How to create an HTTP server (1)
HTTP Overview
Understand the Web Server:
Compile an HTTP (Hypertext Transfer Protocol) server, that is, the Web server. We can define it as follows: Based on the HTTP protocol, transfer the corresponding webpage
The HTTP request methods specified in the HTTP/1.1 protocol are options,, POST, put, DELETE, TRACE, CONNECT. In which, post is generally used to submit data to the server, this article mainly discusses several ways of post data submission.
We know
1. all people who have done Socket programming in the HTTP request type know that when we design a communication protocol, the "message header Message Body" segmentation method is very common, the message header tells the other party what 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.