Commit Graph

3485 Commits

Author SHA1 Message Date
Sandeep Kulkarni bde58d6add Fixed NPE during dispose in Response if entity is null 2021-03-18 20:17:45 +01:00
Arturo Bernal 879a063b57 Reuse org.apache.hc.core5.http.Method HTTP spec enum 2021-03-16 12:53:31 +01:00
Oleg Kalnichevski 10e2deb210 Blocking connection managers to validate connections after inactivity of more than 2s by default; behavior of async connection managers remains the same 2021-03-16 09:24:14 +01:00
Oleg Kalnichevski 5875ca1c37 Fixed context logging in BasicHttpClientConnectionManager 2021-03-15 21:49:07 +01:00
Oleg Kalnichevski 2404540f1f Deprecated request factory classes in favor of request builders 2021-03-14 22:13:55 +01:00
Oleg Kalnichevski e0c19c0b53 Better javadocs for simple message classes 2021-03-14 20:37:08 +01:00
Oleg Kalnichevski 567b53d4b1 Improved async client examples 2021-03-14 20:08:37 +01:00
Oleg Kalnichevski 1174c240e2 Simple message builders 2021-03-14 18:59:22 +01:00
Sandeep Kulkarni d94495131a Fixed typo for enum name Postion to Position 2021-03-14 16:44:32 +01:00
Arturo Bernal 118e7359a1 Fixed typos javadocs and var names 2021-03-14 16:34:18 +01:00
Oleg Kalnichevski 24321d26b2 HTTPCLIENT-2140: Upgraded Commons Codec to version 1.15 2021-03-13 17:16:17 +01:00
Oleg Kalnichevski d41d67fa94 Request factory classes to re-use `Method#normalizedValueOf` 2021-03-11 22:47:29 +01:00
Oleg Kalnichevski b6b89a7296 Cleanup of redirect request generation code in Redirect exec interceptors 2021-03-11 22:47:29 +01:00
Oleg Kalnichevski 8b29c0680b Improved proxy request message generation 2021-03-11 22:47:29 +01:00
Oleg Kalnichevski 3de88293fe Deprecated message copiers in favor of generic message builders 2021-03-11 22:47:29 +01:00
Oleg Kalnichevski ea9c6ef9df Upgraded HttpCore to version 5.1 2021-03-11 22:47:29 +01:00
leedonggyu 8aea7da1df Remove duplicated conditional statement in ResponseProcessCookies 2021-02-25 10:47:42 +01:00
Oleg Kalnichevski de5c6a237a Deleted sample code moved to HttpComponents Website project 2021-02-23 19:18:47 +01:00
Carey Lin a0184188c1 Fix the issues causing Kerberos/SPNego to fail
1. At the beginning of the negotiate, no token is defined in "WWW-Authenticate: Negotiate".
2. Kerberos expects HTTP.
2021-02-20 17:41:20 +01:00
imbyungjun c39117e366 Fix typo on cookie formatting method 2021-02-16 20:01:54 +01:00
Arturo Bernal f2e9ad3b11 Fix Typo 2021-02-10 22:09:20 +01:00
Oleg Kalnichevski 744c9d8020 Upgraded HttpClient version to 5.1-beta2-SNAPSHOT 2021-02-10 22:06:51 +01:00
Oleg Kalnichevski 59491adbdb Updated copyright statement in NOTICE.txt 2021-02-07 12:16:39 +01:00
Oleg Kalnichevski 4b295dff15 Deprecated some URIUtils methods in favor of URIBuilder 2021-02-06 18:05:01 +01:00
Oleg Kalnichevski e6a7fe8a0c Request message copy optimization 2021-02-06 17:36:24 +01:00
Oleg Kalnichevski 17fce4112c Updated release notes for HttpClient 5.1-beta1 release 2021-02-06 14:13:47 +01:00
Oleg Kalnichevski f9ea1b6238 Upgraded project version to 5.1-beta1-SNAPSHOT 2021-02-06 13:28:08 +01:00
Oleg Kalnichevski af3a7526d2 RFC 3986 conformance: re-use URIBuilder new functionality in URIUtils#normalizeSyntax 2021-02-06 13:26:52 +01:00
Oleg Kalnichevski 004bc85934 Upgraded HttpCore to version 5.1-beta3 2021-02-06 13:26:52 +01:00
Arturo Bernal 0940d35602 Minor Improvement:
* Avoid duplicate code
* Simplify if else
* Inline variables
2021-02-05 22:18:45 +01:00
Hervé Boutemy c2e6f92572 scm-publish to /components/httpcomponents-client-5.0.x/LATEST 2021-01-29 19:55:52 +01:00
Arturo Bernal 3c9f1f85e1 Minor Improvements:
* Use Empty collections
* Unnecessary toString
2021-01-26 09:14:46 +01:00
Oleg Kalnichevski b71e2fcb83 No need to copy example sources as resources when generating site content 2021-01-17 11:12:33 +01:00
Hervé Boutemy 1bb34465d4 activate SCM publish to /httpcomponents-client-5.0.x/doc/ 2021-01-13 11:05:16 +01:00
Hervé Boutemy 3b0a7aeee8 improve documentation format 2021-01-12 09:33:48 +01:00
Arturo Bernal 6a02e818ff Minor Improvements:
* Remove redundant initialization
2021-01-05 20:01:19 +01:00
Oleg Kalnichevski 8285223560 Improved context and wire logging 2021-01-03 15:18:28 +01:00
Oleg Kalnichevski a0b4dbb34b Improved I/O session logging 2021-01-03 15:18:28 +01:00
Marcono1234 d4308d0462 Fix incorrect logger API dependency in README 2021-01-02 12:36:07 +01:00
Marcono1234 8458ba0bf6 Convert README to markdown 2021-01-02 12:36:07 +01:00
Arturo Bernal 36e1bde6ff Minor Improvements:
* Add final to variable
* Unnecessary semicolon
* Use Standard Charset object
* Unnecessary conversion to String
* Simplifiable conditional expression
* Replace 'Arrays.asList()' with Collections.singletonList
* Redundant local variable. Simplify
2020-12-31 13:50:06 +01:00
Rob Spoor 25c124917b
Add interceptors before MAIN_TRANSPORT so they won't be ignored (#272) 2020-12-09 11:54:58 +01:00
Carter Kozak 8d5cfd326e HTTPCLIENT-2104: ManagedHttpClientConnectionFactory supports ResponseOutOfOrderStrategy configuration 2020-12-06 16:38:16 -05:00
Oleg Kalnichevski 22cf9671b1 Fixed generics 2020-12-02 16:11:30 +01:00
Oleg Kalnichevski 689613eeb2 Upgraded HttpCore to version 5.1-beta2 2020-12-02 16:11:14 +01:00
Oleg Kalnichevski 871ee6bde7 External compatibility tests to use HTTP protocol negotiation settings 2020-11-29 14:33:32 +01:00
Gary Gregory 51e2647d6c Document PR #270: Master try w res and more. 2020-11-24 09:26:26 -05:00
Gary Gregory 75f9adea87 Remove redundant returns. 2020-11-24 09:22:25 -05:00
Gary Gregory 712148ecc3 Remove redundant modifiers.
- All methods in a final class are already final.
- All members of an interface are public.
- All inner enums are static.
2020-11-24 09:22:25 -05:00
Gary Gregory 956b8194ff Simplify if/else. 2020-11-24 09:22:25 -05:00