Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/http/cl_web_http_utility.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ CLASS cl_web_http_utility DEFINITION PUBLIC.
RETURNING
VALUE(unescaped) TYPE string.

CLASS-METHODS escape_url
IMPORTING
unescaped TYPE string
options TYPE i OPTIONAL
RETURNING
VALUE(escaped) TYPE string.

CLASS-METHODS decode_x_base64
IMPORTING
encoded TYPE string
Expand Down Expand Up @@ -60,6 +67,10 @@ CLASS cl_web_http_utility IMPLEMENTATION.
options = options ).
ENDMETHOD.

METHOD escape_url.
escaped = cl_http_utility=>escape_url( unescaped ).
ENDMETHOD.

METHOD decode_x_base64.
decoded = cl_http_utility=>decode_x_base64( encoded ).
ENDMETHOD.
Expand Down