diff options
author | aunsane <aunsane@gmail.com> | 2017-04-23 13:50:22 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2017-04-23 13:50:22 +0300 |
commit | 3aac528057ce49c8497211a4348df5363af17e1e (patch) | |
tree | 2a4c1b8cad10d59bd5fd1682a1d62a6925001abf /include/m_http.h | |
parent | 5048672e81f3ee9aa864ef9d736a3d74da051754 (diff) |
CloudFile: implement GDrive upload
Diffstat (limited to 'include/m_http.h')
-rw-r--r-- | include/m_http.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |