internal static bool IsUploadStatusRequest(HttpWorkerRequest request, out string id) { id = string.Empty; if (request.GetHttpVerbName() != GetVerbName) return false; Match m = _getUploadId.Match(request.GetRawUrl()); if (!m.Success) return false; id = m.Value; return true; }
internal static bool IsPost(HttpWorkerRequest request) { return request.GetHttpVerbName() == PostProtocol; }