|
1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 RESOURCE ARRAY r_error_res_http_text_header_encode_errors |
|
17 { |
|
18 items= |
|
19 { |
|
20 SINGLE_ERROR |
|
21 { |
|
22 text=r_http_error_encode_default; //-7200 |
|
23 }, |
|
24 SINGLE_ERROR |
|
25 { |
|
26 text=r_http_error_encode_accept; |
|
27 }, |
|
28 SINGLE_ERROR |
|
29 { |
|
30 text=r_http_error_encode_accept_charset; |
|
31 }, |
|
32 SINGLE_ERROR |
|
33 { |
|
34 text=r_http_error_encode_qvalue; |
|
35 }, |
|
36 SINGLE_ERROR |
|
37 { |
|
38 text=r_http_error_encode_authorization; |
|
39 }, |
|
40 SINGLE_ERROR |
|
41 { |
|
42 text=r_http_error_encode_basic_auth; //-7205 |
|
43 }, |
|
44 SINGLE_ERROR |
|
45 { |
|
46 text=r_http_error_encode_digest_auth; |
|
47 }, |
|
48 SINGLE_ERROR |
|
49 { |
|
50 text=r_http_error_encode_connection; |
|
51 }, |
|
52 SINGLE_ERROR |
|
53 { |
|
54 text=r_http_error_encode_content_length; |
|
55 }, |
|
56 SINGLE_ERROR |
|
57 { |
|
58 text=r_http_error_encode_content_type; |
|
59 }, |
|
60 SINGLE_ERROR |
|
61 { |
|
62 text=r_http_error_encode_host; //-7210 |
|
63 }, |
|
64 SINGLE_ERROR |
|
65 { |
|
66 text= r_http_error_encode_host_port; |
|
67 }, |
|
68 SINGLE_ERROR |
|
69 { |
|
70 text= r_http_error_encode_transfer_encoding; |
|
71 }, |
|
72 SINGLE_ERROR |
|
73 { |
|
74 text=r_http_error_encode_user_agent; |
|
75 }, |
|
76 SINGLE_ERROR |
|
77 { |
|
78 text=r_http_error_encode_date; |
|
79 }, |
|
80 SINGLE_ERROR |
|
81 { |
|
82 text=r_http_error_encode_cookie; // -7215 |
|
83 }, |
|
84 SINGLE_ERROR |
|
85 { |
|
86 text=r_http_error_encode_cache_control; |
|
87 }, |
|
88 SINGLE_ERROR |
|
89 { |
|
90 text=r_http_error_encode_pragma; |
|
91 }, |
|
92 SINGLE_ERROR |
|
93 { |
|
94 text=r_http_error_encode_if_match; |
|
95 }, |
|
96 SINGLE_ERROR |
|
97 { |
|
98 text=r_http_error_encode_if_none_match; |
|
99 }, |
|
100 SINGLE_ERROR |
|
101 { |
|
102 text=r_http_error_encode_if_modified_since; // -7220 |
|
103 }, |
|
104 SINGLE_ERROR |
|
105 { |
|
106 text=r_http_error_encode_if_unmodified_since; |
|
107 }, |
|
108 SINGLE_ERROR |
|
109 { |
|
110 text=r_http_error_encode_cookie2; |
|
111 } |
|
112 }; |
|
113 } |
|
114 |
|
115 |
|
116 RESOURCE ARRAY r_error_res_http_text_header_decode_basic_val_errors |
|
117 { |
|
118 items= |
|
119 { |
|
120 SINGLE_ERROR |
|
121 { |
|
122 text=r_http_error_decode_malformed_date; //-7260 |
|
123 }, |
|
124 SINGLE_ERROR |
|
125 { |
|
126 text=r_http_error_decode_malformed_year; |
|
127 }, |
|
128 SINGLE_ERROR |
|
129 { |
|
130 text=r_http_error_decode_malformed_month; |
|
131 }, |
|
132 SINGLE_ERROR |
|
133 { |
|
134 text=r_http_error_decode_malformed_day; |
|
135 }, |
|
136 SINGLE_ERROR |
|
137 { |
|
138 text=r_http_error_decode_malformed_wkday; |
|
139 }, |
|
140 SINGLE_ERROR |
|
141 { |
|
142 text= r_http_error_decode_malformed_weekday; //-7265 |
|
143 }, |
|
144 SINGLE_ERROR |
|
145 { |
|
146 text=r_http_error_decode_malformed_integer; |
|
147 }, |
|
148 SINGLE_ERROR |
|
149 { |
|
150 text=r_http_error_decode_malformed_quotedstr; |
|
151 } |
|
152 }; |
|
153 } |
|
154 |
|
155 |
|
156 RESOURCE ARRAY r_error_res_http_text_header_decode_errors |
|
157 { |
|
158 items= |
|
159 { |
|
160 SINGLE_ERROR |
|
161 { |
|
162 text=r_http_error_decode_accept; //-7270 |
|
163 }, |
|
164 SINGLE_ERROR |
|
165 { |
|
166 text=r_http_error_decode_connection; |
|
167 }, |
|
168 SINGLE_ERROR |
|
169 { |
|
170 text=r_http_error_decode_content_length; |
|
171 }, |
|
172 SINGLE_ERROR |
|
173 { |
|
174 text=r_http_error_decode_content_type; |
|
175 }, |
|
176 SINGLE_ERROR |
|
177 { |
|
178 text=r_http_error_decode_transfer_encoding; |
|
179 }, |
|
180 SINGLE_ERROR |
|
181 { |
|
182 text=r_http_error_decode_www_authenticate; //-7275 |
|
183 }, |
|
184 SINGLE_ERROR |
|
185 { |
|
186 text=r_http_error_decode_unknown_auth_scheme; |
|
187 }, |
|
188 SINGLE_ERROR |
|
189 { |
|
190 text=r_http_error_decode_basic_auth; |
|
191 }, |
|
192 SINGLE_ERROR |
|
193 { |
|
194 text=r_http_error_decode_digest_auth; |
|
195 }, |
|
196 SINGLE_ERROR |
|
197 { |
|
198 text=r_http_error_decode_cookie; |
|
199 } |
|
200 }; |
|
201 } |
|
202 |
|
203 |
|
204 RESOURCE ARRAY r_error_res_http_response_errors |
|
205 { |
|
206 items= |
|
207 { |
|
208 SINGLE_ERROR |
|
209 { |
|
210 text=r_http_error_redirect_exceeded_limit; //-7300 |
|
211 }, |
|
212 SINGLE_ERROR |
|
213 { |
|
214 text=r_http_error_redirect_use_proxy ; |
|
215 }, |
|
216 SINGLE_ERROR |
|
217 { |
|
218 text=r_http_error_redirect_no_location_field; |
|
219 }, |
|
220 SINGLE_ERROR |
|
221 { |
|
222 text=r_http_error_unknown_parse_state; |
|
223 } |
|
224 }; |
|
225 } |
|
226 |
|
227 |
|
228 RESOURCE ARRAY r_error_res_http_request_errors |
|
229 { |
|
230 items= |
|
231 { |
|
232 SINGLE_ERROR |
|
233 { |
|
234 text= r_http_error_request_has_body; //-7330 |
|
235 }, |
|
236 SINGLE_ERROR |
|
237 { |
|
238 text= r_http_error_request_body_missing; |
|
239 }, |
|
240 SINGLE_ERROR |
|
241 { |
|
242 text=r_http_error_trace_req_without_max_forward_header; |
|
243 }, |
|
244 SINGLE_ERROR |
|
245 { |
|
246 text=r_http_error_post_req_body_without_size_on_http10; |
|
247 }, |
|
248 SINGLE_ERROR |
|
249 { |
|
250 text=r_http_error_invalid_header_in_request; |
|
251 } |
|
252 }; |
|
253 } |
|
254 |
|
255 |
|
256 RESOURCE ARRAY r_error_res_http_request_missing_header_errors |
|
257 { |
|
258 items= |
|
259 { |
|
260 SINGLE_ERROR |
|
261 { |
|
262 text=r_http_error_entity_header_missing_content_type; // -7360 |
|
263 }, |
|
264 SINGLE_ERROR |
|
265 { |
|
266 text=r_http_error_general_header_missing_host; |
|
267 } |
|
268 }; |
|
269 } |
|
270 |
|
271 RESOURCE ARRAY r_error_res_http_protocolhandler_errors |
|
272 { |
|
273 items= |
|
274 { |
|
275 SINGLE_ERROR |
|
276 { |
|
277 text=r_http_error_cant_reset_request_body; |
|
278 }, |
|
279 SINGLE_ERROR |
|
280 { |
|
281 text=r_http_error_transaction_not_initalised; |
|
282 } |
|
283 }; |
|
284 } |
|
285 |
|
286 // Errors -7200 to -7222 (Codec encoding errors for HTTP headers) |
|
287 RESOURCE TBUF r_http_error_encode_default { buf=STRING_r_http_error_encode_default; } |
|
288 RESOURCE TBUF r_http_error_encode_accept{ buf=STRING_No_Label1; } |
|
289 RESOURCE TBUF r_http_error_encode_accept_charset { buf=STRING_r_http_error_encode_accept_charset; } |
|
290 RESOURCE TBUF r_http_error_encode_qvalue { buf=STRING_r_http_error_encode_qvalue; } |
|
291 RESOURCE TBUF r_http_error_encode_authorization { buf=STRING_r_http_error_encode_authorization; } |
|
292 RESOURCE TBUF r_http_error_encode_basic_auth { buf=STRING_r_http_error_encode_basic_auth; } |
|
293 RESOURCE TBUF r_http_error_encode_digest_auth { buf=STRING_r_http_error_encode_digest_auth; } |
|
294 RESOURCE TBUF r_http_error_encode_connection { buf=STRING_r_http_error_encode_connection; } |
|
295 RESOURCE TBUF r_http_error_encode_content_length { buf=STRING_r_http_error_encode_content_length; } |
|
296 RESOURCE TBUF r_http_error_encode_content_type { buf=STRING_r_http_error_encode_content_type; } |
|
297 RESOURCE TBUF r_http_error_encode_host { buf=STRING_r_http_error_encode_host; } |
|
298 RESOURCE TBUF r_http_error_encode_host_port { buf=STRING_r_http_error_encode_host_port; } |
|
299 RESOURCE TBUF r_http_error_encode_transfer_encoding { buf=STRING_r_http_error_encode_transfer_encoding; } |
|
300 RESOURCE TBUF r_http_error_encode_user_agent { buf=STRING_r_http_error_encode_user_agent; } |
|
301 RESOURCE TBUF r_http_error_encode_date { buf=STRING_r_http_error_encode_date; } |
|
302 RESOURCE TBUF r_http_error_encode_cookie { buf=STRING_r_http_error_encode_cookie; } |
|
303 RESOURCE TBUF r_http_error_encode_cache_control { buf=STRING_r_http_error_encode_cache_control; } |
|
304 RESOURCE TBUF r_http_error_encode_pragma { buf=STRING_r_http_error_encode_pragma; } |
|
305 RESOURCE TBUF r_http_error_encode_if_match { buf=STRING_r_http_error_encode_if_match; } |
|
306 RESOURCE TBUF r_http_error_encode_if_none_match { buf=STRING_r_http_error_encode_if_none_match; } |
|
307 RESOURCE TBUF r_http_error_encode_if_modified_since { buf=STRING_r_http_error_encode_if_modified_since; } |
|
308 RESOURCE TBUF r_http_error_encode_if_unmodified_since { buf=STRING_r_http_error_encode_if_unmodified_since; } |
|
309 RESOURCE TBUF r_http_error_encode_cookie2 { buf=STRING_r_http_error_encode_cookie2; } |
|
310 |
|
311 |
|
312 |
|
313 // Errors -7260 to -7267 (Codec decoding errors for values found in HTTP headers) |
|
314 RESOURCE TBUF r_http_error_decode_malformed_date { buf=STRING_r_http_error_decode_malformed_date; } |
|
315 RESOURCE TBUF r_http_error_decode_malformed_year { buf=STRING_r_http_error_decode_malformed_year; } |
|
316 RESOURCE TBUF r_http_error_decode_malformed_month { buf=STRING_r_http_error_decode_malformed_month; } |
|
317 RESOURCE TBUF r_http_error_decode_malformed_day { buf=STRING_r_http_error_decode_malformed_day; } |
|
318 RESOURCE TBUF r_http_error_decode_malformed_wkday { buf=STRING_r_http_error_decode_malformed_wkday; } |
|
319 RESOURCE TBUF r_http_error_decode_malformed_weekday { buf=STRING_r_http_error_decode_malformed_weekday; } |
|
320 RESOURCE TBUF r_http_error_decode_malformed_integer { buf=STRING_r_http_error_decode_malformed_integer; } |
|
321 RESOURCE TBUF r_http_error_decode_malformed_quotedstr { buf=STRING_r_http_error_decode_malformed_quotedstr; } |
|
322 |
|
323 |
|
324 |
|
325 // Errors -7270 to -7279 (Codec decoding errors for HTTP headers) |
|
326 RESOURCE TBUF r_http_error_decode_accept{ buf=STRING_No_Label2; } |
|
327 RESOURCE TBUF r_http_error_decode_connection{ buf=STRING_No_Label3; } |
|
328 RESOURCE TBUF r_http_error_decode_content_length { buf=STRING_r_http_error_decode_content_length; } |
|
329 RESOURCE TBUF r_http_error_decode_content_type { buf=STRING_r_http_error_decode_content_type; } |
|
330 RESOURCE TBUF r_http_error_decode_transfer_encoding { buf=STRING_r_http_error_decode_transfer_encoding; } |
|
331 RESOURCE TBUF r_http_error_decode_www_authenticate { buf=STRING_r_http_error_decode_www_authenticate; } |
|
332 RESOURCE TBUF r_http_error_decode_unknown_auth_scheme { buf=STRING_r_http_error_decode_unknown_auth_scheme; } |
|
333 RESOURCE TBUF r_http_error_decode_basic_auth { buf=STRING_r_http_error_decode_basic_auth; } |
|
334 RESOURCE TBUF r_http_error_decode_digest_auth { buf=STRING_r_http_error_decode_digest_auth; } |
|
335 RESOURCE TBUF r_http_error_decode_cookie { buf=STRING_r_http_error_decode_cookie; } |
|
336 |
|
337 |
|
338 |
|
339 // Errors -7300 to -7304 (Response errors. These represent specific failure cases) |
|
340 RESOURCE TBUF r_http_error_redirect_exceeded_limit { buf=STRING_r_http_error_redirect_exceeded_limit; } |
|
341 RESOURCE TBUF r_http_error_redirect_use_proxy { buf=STRING_r_http_error_redirect_use_proxy; } |
|
342 RESOURCE TBUF r_http_error_redirect_no_location_field { buf=STRING_r_http_error_redirect_no_location_field; } |
|
343 RESOURCE TBUF r_http_error_unknown_parse_state { buf=STRING_r_http_error_unknown_parse_state; } |
|
344 |
|
345 |
|
346 |
|
347 // Errors -7330 to -7334 (Request building errors: cause the Validation Filter to make a transaction fail and terminate) |
|
348 RESOURCE TBUF r_http_error_request_has_body { buf=STRING_r_http_error_request_has_body; } |
|
349 RESOURCE TBUF r_http_error_request_body_missing { buf=STRING_r_http_error_request_body_missing; } |
|
350 RESOURCE TBUF r_http_error_trace_req_without_max_forward_header { buf=STRING_r_http_error_trace_req_without_max_forward_header; } |
|
351 RESOURCE TBUF r_http_error_post_req_body_without_size_on_http10 { buf=STRING_r_http_error_post_req_body_without_size_on_http10; } |
|
352 RESOURCE TBUF r_http_error_invalid_header_in_request { buf=STRING_r_http_error_invalid_header_in_request; } |
|
353 |
|
354 |
|
355 |
|
356 // Errors -7360 to -7361 (Request building errors: Missing but required header errors) |
|
357 RESOURCE TBUF r_http_error_entity_header_missing_content_type { buf=STRING_r_http_error_entity_header_missing_content_type; } |
|
358 RESOURCE TBUF r_http_error_general_header_missing_host { buf=STRING_r_http_error_general_header_missing_host; } |
|
359 |
|
360 |
|
361 |
|
362 // Errors -7370 to -7371 (Protocol Handler Errors) |
|
363 RESOURCE TBUF r_http_error_cant_reset_request_body { buf=STRING_r_http_error_cant_reset_request_body; } |
|
364 RESOURCE TBUF r_http_error_transaction_not_initalised { buf=STRING_r_http_error_transaction_not_initalised; } |
|
365 |