您的位置:首页 > 其它

关于statusLine中的sp,lf,cr

2015-12-01 10:40 369 查看

Status-Line:

The first line of a Response message is the Status-Line,

org.apache.http.StatusLine

The first line of a Response message is the Status-Line, consisting of the protocol version followed by a numeric status code and its associated textual phrase, with each element separated by SP characters. No CR or LF is allowed except in the final CRLF sequence.

Status-Line = HTTP-Version SP Status-Code SP Reason-Phrase CRLF

Lf和cr是2种换行符

Windows中为 crlf:Unix中为 lf:Mac中为cr:Sp 是space 空格的意思:
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: