diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2014-03-07 19:41:15 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2014-03-07 19:41:15 +0000 |
commit | 3997c1912c9ef57697452f357b02b10b8f5bc6a7 (patch) | |
tree | 06003caf27213aa4bd5ecaf36992b03037c7b1b3 /plugins/Dropbox/src/http_request.h | |
parent | 370996a4a7ced75fe363bc1c3eb34f77f5d7aee1 (diff) |
Dropbox:
- code cleaning and reorganization
- added "/help" command
- more informative authorization request
- version bumped
git-svn-id: http://svn.miranda-ng.org/main/trunk@8456 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/http_request.h')
-rw-r--r-- | plugins/Dropbox/src/http_request.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/Dropbox/src/http_request.h b/plugins/Dropbox/src/http_request.h index 3af4929720..30fce9d7b6 100644 --- a/plugins/Dropbox/src/http_request.h +++ b/plugins/Dropbox/src/http_request.h @@ -5,15 +5,15 @@ enum HTTP_STATUS
{
- OK = 200,
- BAD_REQUEST = 400,
- UNAUTHORIZED = 401,
- FORBIDDEN = 403,
- NOT_FOUND = 404,
- METHOD_NOT_ALLOWED = 405,
- TOO_MANY_REQUESTS = 429,
- SERVICE_UNAVAILABLE = 503,
- INSUFICIENTE_STORAGE = 507
+ HTTP_STATUS_OK = 200,
+ HTTP_STATUS_BAD_REQUEST = 400,
+ HTTP_STATUS_UNAUTHORIZED = 401,
+ HTTP_STATUS_FORBIDDEN = 403,
+ HTTP_STATUS_NOT_FOUND = 404,
+ HTTP_STATUS_METHOD_NOT_ALLOWED = 405,
+ HTTP_STATUS_TOO_MANY_REQUESTS = 429,
+ HTTP_STATUS_SERVICE_UNAVAILABLE = 503,
+ HTTP_STATUS_INSUFICIENTE_STORAGE = 507
};
class HttpRequest : public NETLIBHTTPREQUEST, public MZeroedObject
|