equal
deleted
inserted
replaced
|
1 // Copyright (c) 2003-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 #ifndef __THTTPCLIENTPANIC_H__ |
|
17 #define __THTTPCLIENTPANIC_H__ |
|
18 |
|
19 #include <e32std.h> |
|
20 |
|
21 // @todo remove these if possible - affects headers filter and codec |
|
22 _LIT8(KSpace, " "); |
|
23 _LIT8(KFieldSeparator, "\n"); |
|
24 |
|
25 class THttpClientPanic |
|
26 { |
|
27 public: |
|
28 |
|
29 enum THttpClientPanicCode |
|
30 { |
|
31 EInvalidHeaderValueType = 0, |
|
32 EFullUrlRequired = 1, |
|
33 EUriMissingAuthority = 2, |
|
34 EInvalidHeaderForHTTP10 = 3, |
|
35 EInvalidProxySetting = 4, |
|
36 ENoBodyPartInDataSupplier = 5, |
|
37 EInvalidBatchingSetting = 6 |
|
38 }; |
|
39 |
|
40 static void Panic(THttpClientPanicCode aPanic); |
|
41 |
|
42 }; |
|
43 |
|
44 #endif // __THTTPCLIENTPANIC_H__ |
|
45 |