equal
deleted
inserted
replaced
104 */ |
104 */ |
105 static final boolean validateProxy; |
105 static final boolean validateProxy; |
106 static final boolean validateServer; |
106 static final boolean validateServer; |
107 |
107 |
108 private StreamingOutputStream strOutputStream; |
108 private StreamingOutputStream strOutputStream; |
109 private final static String RETRY_MSG1 = |
109 private static final String RETRY_MSG1 = |
110 "cannot retry due to proxy authentication, in streaming mode"; |
110 "cannot retry due to proxy authentication, in streaming mode"; |
111 private final static String RETRY_MSG2 = |
111 private static final String RETRY_MSG2 = |
112 "cannot retry due to server authentication, in streaming mode"; |
112 "cannot retry due to server authentication, in streaming mode"; |
113 private final static String RETRY_MSG3 = |
113 private static final String RETRY_MSG3 = |
114 "cannot retry due to redirection, in streaming mode"; |
114 "cannot retry due to redirection, in streaming mode"; |
115 |
115 |
116 /* |
116 /* |
117 * System properties related to error stream handling: |
117 * System properties related to error stream handling: |
118 * |
118 * |
2855 } |
2855 } |
2856 return false; |
2856 return false; |
2857 } |
2857 } |
2858 |
2858 |
2859 // constant strings represent set-cookie header names |
2859 // constant strings represent set-cookie header names |
2860 private final static String SET_COOKIE = "set-cookie"; |
2860 private static final String SET_COOKIE = "set-cookie"; |
2861 private final static String SET_COOKIE2 = "set-cookie2"; |
2861 private static final String SET_COOKIE2 = "set-cookie2"; |
2862 |
2862 |
2863 /** |
2863 /** |
2864 * Returns a filtered version of the given headers value. |
2864 * Returns a filtered version of the given headers value. |
2865 * |
2865 * |
2866 * Note: The implementation currently only filters out HttpOnly cookies |
2866 * Note: The implementation currently only filters out HttpOnly cookies |