diff options
author | Thomas Wolf <thomas.wolf@paranor.ch> | 2020-03-09 23:41:37 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2020-03-10 11:34:48 +0100 |
commit | 04e16afb05912f3a163d8cda3560a5b2f1ea997f (patch) | |
tree | e9814c814b1cc7575bca04d3a8ad5825f5785359 /org.eclipse.jgit/.settings | |
parent | ac83e471d8448f419deb01d2145294e65186b086 (diff) | |
download | jgit-04e16afb05912f3a163d8cda3560a5b2f1ea997f.tar.gz jgit-04e16afb05912f3a163d8cda3560a5b2f1ea997f.zip |
TransportHttp: support HTTP response 308 Permanent Redirect
RFC 7538[1] added HTTP response code 308, signifying a permanent
redirect that, contrary to the older 301, does not allow changing
the request method from POST to GET.
[1] https://tools.ietf.org/html/rfc7538
Bug: 560936
Change-Id: Ib65f3a3ed75db51d74d1fe81d4abe6fe92b0ca12
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.jgit/.settings')
-rw-r--r-- | org.eclipse.jgit/.settings/.api_filters | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/org.eclipse.jgit/.settings/.api_filters b/org.eclipse.jgit/.settings/.api_filters new file mode 100644 index 0000000000..c8b7bf799e --- /dev/null +++ b/org.eclipse.jgit/.settings/.api_filters @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<component id="org.eclipse.jgit" version="2"> + <resource path="src/org/eclipse/jgit/transport/http/HttpConnection.java" type="org.eclipse.jgit.transport.http.HttpConnection"> + <filter id="403767336"> + <message_arguments> + <message_argument value="org.eclipse.jgit.transport.http.HttpConnection"/> + <message_argument value="HTTP_11_MOVED_PERM"/> + </message_arguments> + </filter> + </resource> +</component> |