summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-10-25 13:03:46 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2016-10-25 16:08:25 +0200
commita6022c170264dc29074212b280e2d946093e203a (patch)
tree2c584eb6b99bb51c842ac76e4e23e6f0981d331a
parentfee28a5b1655c02244cb63e6ccc9c5eef8991f8c (diff)
docs: ecore_con: document missing HTTP enums
-rw-r--r--src/lib/ecore_con/efl_net_dialer_http.eo7
-rw-r--r--src/lib/ecore_con/efl_net_http_types.eot146
2 files changed, 78 insertions, 75 deletions
diff --git a/src/lib/ecore_con/efl_net_dialer_http.eo b/src/lib/ecore_con/efl_net_dialer_http.eo
index f9ceae2edb..b8c327dab6 100644
--- a/src/lib/ecore_con/efl_net_dialer_http.eo
+++ b/src/lib/ecore_con/efl_net_dialer_http.eo
@@ -1,9 +1,10 @@
1import efl_net_http_types; 1import efl_net_http_types;
2 2
3enum Efl.Net.Dialer.Http.Primary_Mode { 3enum Efl.Net.Dialer.Http.Primary_Mode {
4 auto, 4 [[Primary HTTP mode]]
5 download, 5 auto, [[HTTP auto mode]]
6 upload, 6 download, [[HTTP download mode]]
7 upload, [[HTTP upload mode]]
7} 8}
8 9
9class Efl.Net.Dialer.Http (Efl.Loop_User, Efl.Net.Dialer, Efl.Io.Sizer) { 10class Efl.Net.Dialer.Http (Efl.Loop_User, Efl.Net.Dialer, Efl.Io.Sizer) {
diff --git a/src/lib/ecore_con/efl_net_http_types.eot b/src/lib/ecore_con/efl_net_http_types.eot
index 895297fd40..328f59dca2 100644
--- a/src/lib/ecore_con/efl_net_http_types.eot
+++ b/src/lib/ecore_con/efl_net_http_types.eot
@@ -22,89 +22,91 @@ enum Efl.Net.Http.Authentication_Method {
22} 22}
23 23
24enum Efl.Net.Http.Status { 24enum Efl.Net.Http.Status {
25 [[Common HTTP status codes]] 25 [[Common HTTP status codes. A more detailed description on the various HTTPS status codes can be
26 found one Wikipedia: https://en.wikipedia.org/wiki/List_of_HTTP_status_codes]]
26 27
27 unknown = 0, [[unknown status, likely not connected]] 28 unknown = 0, [[HTTP status code: Unknown, likely not connected]]
28 29
29 /* Informational: 1xx */ 30 /* Informational: 1xx */
30 continue = 100, 31 continue = 100, [[HTTP status code: continue]]
31 switching_protocols = 101, 32 switching_protocols = 101, [[HTTP status code: switching protocols]]
32 checkpoint = 103, /* unofficial extension */ 33 checkpoint = 103, [[HTTP status code: checkpoint (unofficial extension)]]
33 processing = 102, 34 processing = 102, [[HTTP status code: processing]]
34 35
35 /* success: 2xx */ 36 /* success: 2xx */
36 ok = 200, 37 ok = 200, [[HTTP status code: OK]]
37 created = 201, 38 created = 201, [[HTTP status code: created]]
38 accepted = 202, 39 accepted = 202, [[HTTP status code: accepted]]
39 non_authoritative_information = 203, 40 non_authoritative_information = 203, [[HTTP status code: non authoritative information]]
40 no_content = 204, 41 no_content = 204, [[HTTP status code: no content]]
41 reset_content = 205, 42 reset_content = 205, [[HTTP status code: reset content]]
42 partial_content = 206, 43 partial_content = 206, [[HTTP status code: partial content]]
43 multi_status = 207, 44 multi_status = 207, [[HTTP status code: multi status]]
44 already_reported = 208, 45 already_reported = 208, [[HTTP status code: already reported]]
45 im_used = 226, 46 im_used = 226, [[HTTP status code: IM used]]
46 47
47 /* redirection: 3xx */ 48 /* redirection: 3xx */
48 multiple_choices = 300, 49 multiple_choices = 300, [[HTTP status code: multiple choices]]
49 moved_permanently = 301, 50 moved_permanently = 301, [[HTTP status code: moved permanently]]
50 found = 302, 51 found = 302, [[HTTP status code: found]]
51 see_other = 303, 52 see_other = 303, [[HTTP status code: see other]]
52 not_modified = 304, 53 not_modified = 304, [[HTTP status code: not modified]]
53 use_proxy = 305, 54 use_proxy = 305, [[HTTP status code: use proxy]]
54 switch_proxy = 306, 55 switch_proxy = 306, [[HTTP status code: switch proxy]]
55 temporary_redirect = 307, 56 temporary_redirect = 307, [[HTTP status code: temporary redirect]]
56 permanent_redirect = 308, 57 permanent_redirect = 308, [[HTTP status code: permanent redirect]]
57 58
58 /* client error: 4xx */ 59 /* client error: 4xx */
59 bad_request = 400, 60 bad_request = 400, [[HTTP status code: bad request]]
60 unauthorized = 401, 61 unauthorized = 401, [[HTTP status code: unauthorized]]
61 payment_required = 402, 62 payment_required = 402, [[HTTP status code: payment required]]
62 forbidden = 403, 63 forbidden = 403, [[HTTP status code: forbidden]]
63 not_found = 404, 64 not_found = 404, [[HTTP status code: not found]]
64 method_not_allowed = 405, 65 method_not_allowed = 405, [[HTTP status code: method not allowed]]
65 not_acceptable = 406, 66 not_acceptable = 406, [[HTTP status code: not acceptable]]
66 proxy_authentication_required = 407, 67 proxy_authentication_required = 407, [[HTTP status code: proxy authentication required]]
67 request_timeout = 408, 68 request_timeout = 408, [[HTTP status code: request timeout]]
68 conflict = 409, 69 conflict = 409, [[HTTP status code: conflict]]
69 gone = 410, 70 gone = 410, [[HTTP status code: gone]]
70 length_required = 411, 71 length_required = 411, [[HTTP status code: length required]]
71 precondition_failed = 412, 72 precondition_failed = 412, [[HTTP status code: precondition failed]]
72 payload_too_large = 413, 73 payload_too_large = 413, [[HTTP status code: payload too large]]
73 uri_too_long = 414, 74 uri_too_long = 414, [[HTTP status code: URI too long]]
74 unsupported_media_type = 415, 75 unsupported_media_type = 415, [[HTTP status code: unsupported media type]]
75 range_not_satisfiable = 416, 76 range_not_satisfiable = 416, [[HTTP status code: range not satisfied]]
76 expectation_failed = 417, 77 expectation_failed = 417, [[HTTP status code: expectation failed]]
77 misdirected_request = 421, 78 misdirected_request = 421, [[HTTP status code: misdirected request]]
78 unprocessable_entity = 422, 79 unprocessable_entity = 422, [[HTTP status code: unprocessable entity]]
79 locked = 423, 80 locked = 423, [[HTTP status code: locked]]
80 failed_dependency = 424, 81 failed_dependency = 424, [[HTTP status code: failed dependency]]
81 upgrade_required = 426, 82 upgrade_required = 426, [[HTTP status code: upgrade required]]
82 precondition_required = 428, 83 precondition_required = 428, [[HTTP status code: precondition required]]
83 too_many_requests = 429, 84 too_many_requests = 429, [[HTTP status code: too many requests]]
84 request_header_fields_too_large = 431, 85 request_header_fields_too_large = 431, [[HTTP status code: request header fields too large]]
85 login_timeout = 440, /* unofficial extension */ 86 login_timeout = 440, [[HTTP status code: login timeout (unofficial extension)]]
86 no_response = 444, /* unofficial extension */ 87 no_response = 444, [[HTTP status code: no response (unofficial extension)]]
87 retry_with = 449, /* unofficial extension */ 88 retry_with = 449, [[HTTP status code: retry with (unofficial extension)]]
88 blocked_by_windows_parental_controls = 450, /* unofficial extension */ 89 blocked_by_windows_parental_controls = 450, [[HTTP status code: blocked by windows parental controls (unofficial extension)]]
89 unavailable_for_legal_reasons = 451, 90 unavailable_for_legal_reasons = 451, [[HTTP status code: unavailable for legal reasons]]
90 ssl_certificate_error = 495, /* unofficial extension */ 91 ssl_certificate_error = 495, [[HTTP status code: SSL certificate error (unofficial extension)]]
91 ssl_certificate_required = 496, /* unofficial extension */ 92 ssl_certificate_required = 496, [[HTTP status code: SSL certificate required (unofficial extension)]]
92 http_request_sent_to_https_port = 497, /* unofficial extension */ 93 http_request_sent_to_https_port = 497, [[HTTP status code: HTTP request sent to HTTPS port (unofficial extension)]]
93 request_has_been_forbidden_by_antivirus = 499, 94 request_has_been_forbidden_by_antivirus = 499, [[HTTP status code: request has been forbidden by
95 anti virus]]
94 96
95 /* server error: 5xx */ 97 /* server error: 5xx */
96 internal_server_error = 500, 98 internal_server_error = 500, [[HTTP status code: internal server error]]
97 not_implemented = 501, 99 not_implemented = 501, [[HTTP status code: not implemented]]
98 bad_gateway = 502, 100 bad_gateway = 502, [[HTTP status code: bad gateway]]
99 service_unavailable = 503, 101 service_unavailable = 503, [[HTTP status code: service unavailable]]
100 gateway_timeout = 504, 102 gateway_timeout = 504, [[HTTP status code: gateway timeout]]
101 http_version_not_supported = 505, 103 http_version_not_supported = 505, [[HTTP status code: HTTP version not supported]]
102 variant_also_negotiates = 506, 104 variant_also_negotiates = 506, [[HTTP status code: variant also negotiates]]
103 insufficient_storage = 507, 105 insufficient_storage = 507, [[HTTP status code: insufficient storage]]
104 loop_detected = 508, 106 loop_detected = 508, [[HTTP status code: loop detected]]
105 bandwidth_limit_exceeded = 509, /* unofficial extension */ 107 bandwidth_limit_exceeded = 509, [[HTTP status code: bandwidth limit exceeded (unofficial extension)]]
106 not_extended = 510, 108 not_extended = 510, [[HTTP status code: not extended]]
107 network_authentication_required = 511, 109 network_authentication_required = 511, [[HTTP status code: network authentication required]]
108} 110}
109 111
110struct Efl.Net.Http.Header { 112struct Efl.Net.Http.Header {