Commit Graph

168 Commits

Author SHA1 Message Date
thinkphp
fad6936e4a Request类增加destroy方法用于销毁当前实例 2018-08-23 17:03:41 +08:00
thinkphp
d8b38366fb 修正 2018-04-27 17:25:28 +08:00
thinkphp
4c046575b6 改进Request类的host方法 支持仅仅获取host而不包含端口号 2018-04-27 17:13:25 +08:00
thinkphp
8ae0fdef46 增加Expression类及相关方法 2018-04-12 09:25:46 +08:00
thinkphp
e277b20737 修正request类 2018-04-05 09:27:30 +08:00
thinkphp
158aa43028 改进Request类ip方法 支持代理设置 2018-03-30 16:07:15 +08:00
thinkphp
97de5ec026 改进操作获取 2018-03-26 17:24:20 +08:00
thinkphp
282d04e4af 更新说明 2018-01-01 20:19:18 +08:00
thinkphp
c661cc7c46 改进日志记录的ip地址 2017-11-16 17:45:21 +08:00
yunwuxin
7af0a6a22b 改进HOST的获取 2017-11-02 14:29:22 +08:00
thinkphp
495020b7b0 改进Request类filterExp方法 2017-09-05 14:16:54 +08:00
thinkphp
5d80302da5 请求缓存支持缓存标签设置 2017-08-17 14:22:53 +08:00
yinggaozhen
2e1d7aaa79 调整request bind方法形参类型 2017-08-03 11:29:14 +08:00
yinggaozhen
e660c545ba 新增request env属性 2017-08-03 11:29:14 +08:00
thinkphp
1b37ce1abd 增加https_agent_name配置参数 改进Request类的isssl方法 2017-07-04 11:35:57 +08:00
thinkphp
439d05fa6f 自动请求缓存不区分大小写 2017-06-27 17:56:31 +08:00
thinkphp
e5a24df10d 修正注释 2017-06-03 12:09:28 +08:00
thinkphp
ab2222b100 改进命令行下面的URL生成 2017-05-22 14:43:42 +08:00
thinkphp
bb3cfae0a6 添加default_url_root参数设置默认URL根地址 2017-05-22 12:39:46 +08:00
thinkphp
faffdee907 改进Request的type方法对image类型的判断 统一返回image 2017-05-16 19:10:06 +08:00
thinkphp
f1b3ab5a3d 改进Request类的filter过滤机制 支持正则 2017-05-03 11:22:08 +08:00
thinkphp
68790e8d9a 改进输入过滤 2017-04-30 22:58:49 +08:00
thinkphp
f3aa05f808 改进Request类filterValue方法 2017-04-30 21:45:09 +08:00
thinkphp
0a04fe1b4c 修正Request类cookie方法 2017-03-23 14:37:35 +08:00
thinkphp
1e909984ea 改进Cookie类的get方法支持获取全部 改进Request类的cookie方法 2017-03-23 11:58:52 +08:00
thinkphp
6e27ae32a9 改进全局请求缓存的缓存标识 2017-03-22 12:08:12 +08:00
thinkphp
bcf64f19f4 调整 2017-02-25 10:51:57 +08:00
thinkphp
428a30e296 改进Request类param方法 2017-02-24 14:02:26 +08:00
thinkphp
c3e45a1a69 改进Request类 2017-02-22 18:21:30 +08:00
thinkphp
e482cbe7e8 改进Request类contentType方法 2017-02-22 11:27:07 +08:00
苗高鹏
21834f797d Merge branch 'master' into bugfix3 2017-02-13 14:53:24 +08:00
thinkphp
1cdb0ba693 改进全局自动请求缓存对子域名的支持 2017-02-09 10:29:45 +08:00
thinkphp
79fb229181 全局请求缓存添加排除规则 添加request_cache_except配置参数 2017-01-26 20:38:22 +08:00
hooklife
5c4df0ce08 修改架构函数为 构造方法 2017-01-10 15:48:42 +08:00
thinkphp
d6b9e2f628 2017更新 2017-01-01 13:00:23 +08:00
thinkphp
e7895d2593 修正Request类contentType方法 2016-12-29 22:33:25 +08:00
thinkphp
dd384422a7 改进 2016-12-29 12:05:58 +08:00
thinkphp
c4686695bc 改进Request类的input和post方法对json格式参数的接收 2016-12-29 10:18:10 +08:00
thinkphp
43b364e286 规范代码 2016-12-24 21:37:05 +08:00
thinkphp
c8712192be 改进Request类的domain方法 2016-12-23 15:36:22 +08:00
thinkphp
83c13a741c 改进Request类的create方法 2016-12-22 10:50:44 +08:00
thinkphp
565222cfea 改进Request类的post和put方法 2016-12-21 18:11:37 +08:00
thinkphp
d898ab35de 改进Request类domain方法 2016-12-21 12:06:09 +08:00
thinkphp
8f2ed014cc 改进Request类的domain方法 包含端口 2016-12-21 11:22:36 +08:00
thinkphp
3cfd718c38 改进命令行模式下 日志写入出错的问题 2016-12-16 14:34:44 +08:00
thinkphp
ce590c2e53 改进Request类的accept方法 2016-12-15 12:29:51 +08:00
thinkphp
0428e1b120 改进Request类的file方法 2016-12-07 07:47:35 +08:00
quzhe
0962b21232 让Request支持json方式的POST
目前RESTful API用json方式提交的很多
目前PUT/PATCH/DELETE方法均可以支持json,但POST方法不能,这不对等
其实更好的方法是判断header里content-type是否为application/json,但因为目前header属性采用的是懒加载,所以暂时沿用目前的字符串判断
2016-11-29 11:40:02 +08:00
thinkphp
a10cc77e40 数组语法调整 2016-11-21 15:33:55 +08:00
thinkphp
7eaf95de9b 请求缓存的有效期如果传入false表示不缓存 路由规则的cache参数传入false也同样表示不缓存 即使开启了全局请求缓存 2016-11-09 13:53:36 +08:00