Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Cookie handling in IF_HTTP_CLIENT

former_member210955
Active Participant
0 Likes
773

Dear All,

I have a query on usage of IF_HTTP_CLIENT and cookie handling.

we create the instance of IF_HTTP_CLIENT using CREATE_BY_DESTINATION method of CL_HTTP_CLIENT.

Once we get the instance of IF_HTTP_CLIENT we set the cookies to be accepted by calling this

lo_http_client->propertytype_accept_cookie = if_http_client=>co_enabled.

But i see in the "special options" tab of HTTP Destination that cookie acceptance is set to false by default for all destinations.

I want to know does my code override this setting of HTTP destination and cookies are considered with this code or not ?

Thanks and Best Regards,

Saurav

Dear All,

I have a query on usage of IF_HTTP_CLIENT and cookie handling.

we create the instance of IF_HTTP_CLIENT using CREATE_BY_DESTINATION method of CL_HTTP_CLIENT.

Once we get the instance of IF_HTTP_CLIENT we set the cookies to be accepted by calling this

lo_http_client->propertytype_accept_cookie = if_http_client=>co_enabled.

But i see in the "special options" tab of HTTP Destination that cookie acceptance is set to false by default for all destinations.

I want to know does my code override this setting of HTTP destination and cookies are considered with this code or not ?

Thanks and Best Regards,

Saurav

0 REPLIES 0