Esempio n. 1
0
        protected virtual IEnumerator Request(String url, String method, String contentType, byte[] postData, IDictionary <String, String> headers, Action <String, Status, BmobException> callback)
        {
            BmobOutput.Save(headers, "Content-Type", contentType);

            // http://answers.unity3d.com/questions/785798/put-with-wwwform.html
            // www不支持PUT和DELETE操作,需要服务端支持!!服务端已添加filter 2015年9月25日09:57:52
            BmobOutput.Save(headers, "X-HTTP-Method-Override", method);

            return(RequestInternal(url, method, postData, headers, callback));
        }