anchor.diff:      mi_client->request->set_header_field(
           name  = 'Accept'
           value = lv_value ).                                 "#EC NOTEXT
  +
  +    IF mo_digest IS BOUND.
  +      mo_digest->run( mi_client ).
  +    ENDIF.
   
     ENDMETHOD.                    "set_headers
   
  
positive.code: CLASS lcl_http DEFINITION FINAL.
  
    PUBLIC SECTION.
      CLASS-METHODS:
        get_agent
          RETURNING VALUE(rv_agent) TYPE string,
  
negative.code: *&  Include           ZABAPGIT_HTTP
  *&---------------------------------------------------------------------*
  
  CLASS lcl_http_digest DEFINITION FINAL.
  
    PUBLIC SECTION.
      METHODS:
        constructor
          IMPORTING
            ii_client TYPE REF TO if_http_client
            iv_username TYPE string
            iv_password TYPE string,
        run
          IMPORTING
            ii_client TYPE REF TO if_http_client.
  
    PRIVATE SECTION.
      DATA: mv_ha1      TYPE string,
            mv_username TYPE string,
            mv_realm    TYPE string,
            mv_qop      TYPE string,
            mv_nonce    TYPE string.
  
      CLASS-DATA: gv_nc TYPE n LENGTH 8.
  
      CLASS-METHODS:
        md5
          IMPORTING
            iv_data        TYPE string
          RETURNING
            VALUE(rv_hash) TYPE string.
  
      METHODS:
        hash
          IMPORTING
            iv_qop             TYPE string
            iv_nonce           TYPE string
            iv_uri             TYPE string
            iv_method          TYPE string
            iv_cnonse          TYPE string
         RETURNING
            VALUE(rv_response) TYPE string,
        parse
          IMPORTING
            ii_client TYPE REF TO if_http_client.
  
  ENDCLASS.
  
  CLASS lcl_http_client DEFINITION FINAL.
  
    PUBLIC SECTION.
  
      METHODS:
        constructor
          IMPORTING ii_client TYPE REF TO if_http_client,
        close,
        set_digest
          IMPORTING io_digest TYPE REF TO lcl_http_digest,
        send_receive_close
          IMPORTING
            iv_data TYPE xstring
  