2014年11月20日

coffeescript遍历json对象

摘要: 直接给代码:headers = a:"this is a" ,b:"this is b" ,c:"this is c"exheaders = e : "this is e",c:"this is c"headers[key] = value for key,value of exheadersa... 阅读全文

posted @ 2014-11-20 18:23 左直拳 阅读(422) 评论(0) 推荐(0) 编辑

node.js下操作cookie

摘要: cookie,又是cookie。工作中与cookie打交道很多次,不过时间跨度也大,每总结多一次,就加深了解多一点。cookie,一定是放在浏览器中的,用于浏览器保存一些小额度的内容。每次我们去访问服务器的时候,cookie都会附着在请求报文中,一起发送给服务器。服务器中没有cookie,它只是操作... 阅读全文

posted @ 2014-11-20 16:24 左直拳 阅读(591) 评论(0) 推荐(0) 编辑

导航