From 3aac528057ce49c8497211a4348df5363af17e1e Mon Sep 17 00:00:00 2001 From: aunsane Date: Sun, 23 Apr 2017 13:50:22 +0300 Subject: CloudFile: implement GDrive upload --- include/m_http.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/m_http.h b/include/m_http.h index 85feebdbb3..297f4e4466 100644 --- a/include/m_http.h +++ b/include/m_http.h @@ -42,6 +42,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define HTTP_CODE_PARTIAL_CONTENT 206 #define HTTP_CODE_MULTI_STATUS 207 +#define HTTP_CODE_SUCCESS(code) ((code) <= (HTTP_CODE_MULTI_STATUS) && (code) >= (HTTP_CODE_OK)) + // 3xx Redirection #define HTTP_CODE_MULTIPLE_CHOICES 300 #define HTTP_CODE_MOVED_PERMANENTLY 301 -- cgit v1.2.3