anchor.diff:      DATA: lv_reason TYPE string,
             lv_path   TYPE string,
             lv_name   TYPE tadir-obj_name,
  +          lv_full   TYPE string,
             lt_path   TYPE TABLE OF string.
  +
   
       mi_server = server.
   
  +    lv_full = server->request->get_header_field( '~path' ).
       lv_path = server->request->get_header_field( '~path_info' ).
   
       DATA(lv_method) = server->request->get_method( ).
  
positive.code:           lv_changed   TYPE smimphio-chng_time,
            lv_timestamp TYPE char14,
            lv_modified  TYPE string,
            lv_url       TYPE string.
  
  
  
negative.code:         zcl_wabap_pretty_printer=>run(
          server->request->get_cdata( ) ) ).
  
      ELSEIF lv_full = '/sap/zwabap'.
        server->response->set_header_field(
          name  = 'Location'
          value = lv_full && '/' ).
        server->response->set_status( code = 301 reason = '301 redirect' ).
      ELSEIF lv_path = ''.
        read_mime( '/index.html' ).
      ELSE.
        read_mime( lv_path ).
  