关于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 空格的意思:
相关文章推荐
- javadoc 警告:编码 GBK 的不可映射字符
- “Incompatible clusterIDs”错误原因分析
- 21、OSPF配置实验之特殊区域totally stub
- LeetCode28:Implement strStr()
- spring源码剖析(四)自定义标签解析流程
- 解决OPPO手机adb调试找不到设备(Win8系统)
- Android Studio启动时卡在Fetching Android SDK 以及导入Eclipse工程慢的解决方法
- oracle net manager的配置文件tnsnames.ora位置
- Redis 64 steps
- http协议
- 时间格式化
- 每天一个linux命令(14):which命令
- jdbc获取insert主键
- Android-DialogFragment对话框之登录
- LVS+Keepalived实现高可用负载均衡
- crontab 定时任务
- 使用Glup.JS优化JS、CSS、图片,压缩合并
- 关于Activity的四种启动模式
- composer使用
- 每天一个linux命令(13):tail 命令