1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

support http methods, support js crossdomain request

This commit is contained in:
winlin 2014-04-01 14:28:19 +08:00
parent 51c1615173
commit 6ca9b774c1
5 changed files with 145 additions and 46 deletions

View file

@ -46,7 +46,8 @@ namespace srs
// HTTP/1.1 defines the sequence CR LF as the end-of-line marker for all
// protocol elements except the entity-body (see appendix 19.3 for
// tolerant applications).
#define __CRLF __CR""__LF // 0x0D0A
#define __CRLF "\r\n" // 0x0D0A
#define __CRLFCRLF "\r\n\r\n" // 0x0D0A0D0A
};
#ifdef SRS_HTTP_CALLBACK