最近在学习ng2,node.js等。 redis 数据库 实现angular 与 node 后台数据交互 搭建的环节为 1、ng2 本地服务 http://127.0.0.1:4200 2、node.js express 后台服务 为:http://127.0.0.3000 (数据库使用redis, ...
分类:
其他好文 时间:
2017-08-04 22:53:03
阅读次数:
161
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open ... ...
分类:
其他好文 时间:
2017-08-04 21:29:51
阅读次数:
194
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open ... ...
分类:
其他好文 时间:
2017-08-04 20:41:07
阅读次数:
208
因为oauth/authorize响应头包含X-Frame-Options: DENY解决方案:openresty nginx 移除该属性,经测试生效 more_clear_headers X-Frame-Options; 打印日志,发现没有了该属性; set $resp_header ""; he ...
分类:
其他好文 时间:
2017-08-04 20:34:31
阅读次数:
220
需要在Global.asax的Application中进行初始化处理 这样:GlobalConfiguration.Configuration.MessageHandlers.Add(new DefaultHandler()) 然后在App_Start文件夹中添加 DefaultHandler 类复... ...
分类:
Web程序 时间:
2017-08-04 19:41:20
阅读次数:
342
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open ... ...
分类:
Web程序 时间:
2017-08-04 19:23:20
阅读次数:
907
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open ... ...
分类:
其他好文 时间:
2017-08-04 12:42:59
阅读次数:
229
Environment Red Hat Enterprise Linux 5 Red Hat Enterprise Linux 6 glibc, glibc-common, glibc-devel, glibc-headers, nscd Issue A 3rd party application ...
分类:
其他好文 时间:
2017-08-04 10:07:34
阅读次数:
146
//设置服务器跨域权限app.use(function (req, res, next) { res.header("Access-Control-Allow-Origin", "*"); res.header("Access-Control-Allow-Headers", "X-Requested ...
分类:
Web程序 时间:
2017-08-03 15:38:39
阅读次数:
267
1、urlopen(url, data, timeout) 2、Request: ...
分类:
Web程序 时间:
2017-08-03 11:16:24
阅读次数:
171