logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

HTTP 204响应码【转】

HTTP的状态码有很多种,主要有1xx(临时响应)、2xx(成功)、3xx(已重定向)、4xx(请求错误)以及5xx(服务器错误)五个大类,每个大类还对应一些具体的分类。平时我们接触比较多的是200、400、500等。这里我们主要讨论一下状态码204,在HTTP RFC 2616中关于204的描述如下:If the client is a user agent, it SHOULD NOT cha

HTTP 204响应码【转】

HTTP的状态码有很多种,主要有1xx(临时响应)、2xx(成功)、3xx(已重定向)、4xx(请求错误)以及5xx(服务器错误)五个大类,每个大类还对应一些具体的分类。平时我们接触比较多的是200、400、500等。这里我们主要讨论一下状态码204,在HTTP RFC 2616中关于204的描述如下:If the client is a user agent, it SHOULD NOT cha

android文件解析InputStream问题解决

<br /><br />org.xmlpull.v1.XmlPullParserException: Error parsing document. (position:line -1, column -1) caused by: org.apache.harmony.xml.ExpatParser$ParseException: At line 1, column 265: not well-f

#android
Vuex学习之-- 在组件中提交 Mutation

你可以在组件中使用 this.$store.commit('xxx') 提交mutation,或者使用 mapMutations 辅助函数将组件中的 methods 映射为 store.commit 调用(需要在根节点注入 store)。其中  import语句为语法糖import { mapMutations } from 'vuex'export default {//

(转)nodejs生成UID(唯一标识符)——node-uuid模块

unique identifier 惟一标识符        --&gt;&gt; uid在项目开发中我们常需要给某些数据定义一个唯一标识符,便于寻找,关联。node-uuid模块很好的提供了这个功能。https://github.com/kelektiv/node-uuid 使用起来很简单,两种:1、uuid.v1(); --&gt;基于时间戳生成  (time-base

到底了