anchor.diff:    ENDMETHOD.
   
   
  +  METHOD convert_timestamp.
  +
  +    DATA: lv_timestamp TYPE char14.
  +
  +
  +    lv_timestamp = iv_changed.
  +
  +    rv_timestamp = cl_bsp_utility=>date_to_string_http( lv_timestamp ).
  +
  +  ENDMETHOD.
  +
  +
     METHOD read_mime.
   
  -    DATA: li_api       TYPE REF TO if_mr_api,
  -          lv_data      TYPE xstring,
  -          lv_changed   TYPE smimphio-chng_time,
  -          lv_timestamp TYPE char14,
  -          lv_modified  TYPE string,
  -          lv_mime      TYPE string,
  -          lv_url       TYPE string.
  +    DATA: li_api      TYPE REF TO if_mr_api,
  +          lv_data     TYPE xstring,
  +          lv_changed  TYPE smimphio-chng_time,
  +          lv_modified TYPE string,
  +          lv_mime     TYPE string,
  +          lv_url      TYPE string.
   
   
       CONCATENATE '/SAP/PUBLIC/zabapopentest/' iv_url INTO lv_url.
  
positive.code: private section.
  
    methods BUILD_PAGES .
    methods READ_MIME
      importing
        !IV_URL type STRING .
  
negative.code:           i_url                  = lv_file
          IMPORTING
            e_content              = lv_data
            e_content_last_changed = lv_changed
          EXCEPTIONS
            not_found              = 1 ).
        ASSERT sy-subrc = 0.
  
        IF lv_max IS INITIAL OR lv_max < lv_changed.
          lv_max = lv_changed.
        ENDIF.
  
        CONCATENATE lv_result lv_data INTO lv_result IN BYTE MODE.
      ENDLOOP.
  
      IF set_cache( convert_timestamp( lv_max ) ) = abap_true.
        RETURN.
      ENDIF.
  
      mi_server->response->set_compression( ).
      mi_server->response->set_content_type( 'application/x-javascript' ).
  