1.支持客户/服务器模式。
2.简单快速:客户向服务器请求服务时,只需传送请求方法和路径。请求方法常用的有GET、HEAD、POST。每种方法规定了客户与服务器联系的类型不同。由于HTTP协议简单,使得HTTP服务器的程序规模小,因而通信速度很快。
3.灵活:HTTP允许传输任意类型的数据对象。正在传输的类型由Content-Type加以标记。
4.无连接:无连接的含义是限制每次连接只处理一个请求。服务器处理完客户的请求,并收到客户的应答后,即断开连接。采用这种方式可以节省传输时间。
5.无状态:HTTP协...
分类:
Web程序 时间:
2014-11-04 09:26:07
阅读次数:
256
#include#include#includeusing namespace std;const int maxn = 1111;int len;int head[maxn];//int father[maxn];struct Node{ int to; int next;}e[maxn *...
分类:
其他好文 时间:
2014-11-04 08:06:48
阅读次数:
223
<html><head> <title>aaaa</title></head><body> <inputtype="checkbox"checkedfalse"/> <inputtype="checkbox"checkeddisabled/></body></html>
分类:
其他好文 时间:
2014-11-04 06:56:27
阅读次数:
115
装个vmtools找了好久,编译head什么的。1,添加源:vim/etc/sources.listdebhttp://http.kali.org/kalikalimainnon-freecontrib
deb-srchttp://http.kali.org/kalikalimainnon-free2,apt-getupdate3,安装linux-header:apt-getinstallgccmakelinux-headers-$(uname-r)4,链接文件..
分类:
系统相关 时间:
2014-11-04 06:53:19
阅读次数:
762
这里是最为见得的链表测试代码,使用如下接口:
初始化(INIT_HEAD)、添加(list_add)、遍历(list_for_each)及取节点list_entry
功能待丰富,目前代码如下:
#include "list.h"
struct stListUse
{
char *name;
int index;
struct list_hea...
分类:
系统相关 时间:
2014-11-04 00:13:24
阅读次数:
832
Given a linked list, remove the nth node from the end of list and return its head.
For example,
Given linked list: 1->2->3->4->5, and n = 2.
After removing the second node from the end, the linked ...
分类:
其他好文 时间:
2014-11-03 21:02:22
阅读次数:
182
meta详解一(基础篇)
概述
META标签是HTML语言HEAD区的一个辅助性标签,它位于HTML文档头部的HEAD标记和TITLE标记之间,它提供用户不可见的信息。meta标签通常用来为搜索引擎robots定义页面主题,或者是定义用户浏览器上的cookie;它可以用于鉴别作者,设定页面格式,标注内容提要和关键字;还可以设置页面使其可以根据你定义的时间间隔刷新自己,以及设置RASC内容等...
分类:
Web程序 时间:
2014-11-03 19:30:54
阅读次数:
276
对于上面哪一张适配图很多人不了解什么意思,现在我就慢慢地解释一下。下面我们观看一下我们需要的几张效果图3GS手机iPhone 4/4SiPhone 5/5c/5siPhone6iPhone6+3GS所需的元素图片default_Head_image.pngdefault_btn_image.png4...
分类:
其他好文 时间:
2014-11-03 19:06:56
阅读次数:
144
不多说了,就是裸的模版题。
贴代码:
#include
#include
#include
#include
#include
#define N 30500
#define M 200000
#define inf 0x3f3f3f3f
using namespace std;
struct KSD
{
int v,len,next;
}e[M];
int head[N],cnt...
分类:
其他好文 时间:
2014-11-03 08:57:10
阅读次数:
184
<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"xml:lang="en"><head> <metahttp-equiv="Content-Type"content="text/html;charset=UTF..
分类:
移动开发 时间:
2014-11-02 16:42:07
阅读次数:
171