diff --git a/src/http/zcl_abapgit_http_client.clas.abap b/src/http/zcl_abapgit_http_client.clas.abap index 6d3359b76..6e13b0aec 100644 --- a/src/http/zcl_abapgit_http_client.clas.abap +++ b/src/http/zcl_abapgit_http_client.clas.abap @@ -71,6 +71,12 @@ CLASS zcl_abapgit_http_client IMPLEMENTATION. zcx_abapgit_exception=>raise( 'Unsupported media type (HTTP 415)' ). WHEN 422. zcx_abapgit_exception=>raise( 'Unprocessable entity (HTTP 422). Check, if URL has to end with ".git"' ). + WHEN 426. + zcx_abapgit_exception=>raise( + iv_text = 'Upgrade Required (HTTP 426)' + iv_longtext = |The git server requires a different HTTP-protocol than which is sent. | + && |abapGit uses HTTP/1.1 as default. | + && |See more details in the abapGit online documentation.| ). WHEN OTHERS. lv_text = mi_client->response->get_cdata( ). zcx_abapgit_exception=>raise( |(HTTP { lv_code }) { lv_text }| ).