mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
refine code.
This commit is contained in:
parent
d761ebfa55
commit
3a6854fc2e
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ int SrsHttpResponseWriter::send_header(char* data, int size)
|
||||||
|
|
||||||
// status_line
|
// status_line
|
||||||
ss << "HTTP/1.1 " << status << " "
|
ss << "HTTP/1.1 " << status << " "
|
||||||
<< srs_generate_http_status_text(status) << SRS_HTTP_CRLF;
|
<< srs_generate_http_status_text(status) << SRS_HTTP_CRLF;
|
||||||
|
|
||||||
// detect content type
|
// detect content type
|
||||||
if (srs_go_http_body_allowd(status)) {
|
if (srs_go_http_body_allowd(status)) {
|
||||||
|
|
Loading…
Reference in a new issue