mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 02:58:20 +08:00
disable caching of abap2ui5 resources (#308)
This commit is contained in:
parent
447d467e00
commit
863d9efc09
|
@ -64,6 +64,12 @@ METHOD if_http_extension~handle_request.
|
|||
WHEN 'GET' THEN z2ui5_cl_http_handler=>http_get( )
|
||||
WHEN 'POST' THEN z2ui5_cl_http_handler=>http_post( ) ).
|
||||
|
||||
server->response->set_header_field(
|
||||
exporting
|
||||
name = 'cache-control'
|
||||
value = 'no-cache'
|
||||
).
|
||||
|
||||
server->response->set_cdata( lv_resp ).
|
||||
server->response->set_status( code = 200 reason = 'success' ).
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user