<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Accept-Language for cl_http_client in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/accept-language-for-cl-http-client/m-p/807383#M41444</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dries,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You wrote an ABAP program to generate Web Page and store them in the ICM-Cahce, that's right ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do you generated the page, is it by calling a function module ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure only the English version is store in the ICM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you define a web page in SE80 , you can set the language of your page as a parameter value sy-language.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tell me more about your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;Bertrand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Sep 2004 09:57:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2004-09-13T09:57:38Z</dc:date>
    <item>
      <title>Accept-Language for cl_http_client</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accept-language-for-cl-http-client/m-p/807382#M41443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have written a program to load large pages into the icm-cache at certain times of the day.&lt;/P&gt;&lt;P&gt;I want to get the pages into the icm-cache for both 'nl' as 'en' language.&lt;/P&gt;&lt;P&gt;When I set the 'Accept-Language'-header however only an English version is stored in the cache.  Users with a 'Dutch' browser still have to wait for the generation of the page.  &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Is there another way to set the accept-language of the http client class?&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code :&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;client-&amp;gt;request-&amp;gt;set_header_field( name = 'Accept-Language'  value = '&amp;lt;b&amp;gt;nl&amp;lt;/b&amp;gt;').&lt;/P&gt;&lt;P&gt;  cl_http_utility=&amp;gt;set_request_uri( request = client-&amp;gt;request   uri = list_path ).&lt;/P&gt;&lt;P&gt;  client-&amp;gt;send( timeout = client-&amp;gt;CO_TIMEOUT_INFINITE ).&lt;/P&gt;&lt;P&gt;  client-&amp;gt;receive(  ).&lt;/P&gt;&lt;P&gt;  client-&amp;gt;response-&amp;gt;get_status( IMPORTING code = subrc ).&lt;/P&gt;&lt;P&gt;  RESP = CLIENT-&amp;gt;RESPONSE.&lt;/P&gt;&lt;P&gt;  RESP_STR = RESP-&amp;gt;GET_CDATA( ).&lt;/P&gt;&lt;P&gt;  client-&amp;gt;close( ).&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Dries Horions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Dries Horions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Dries Horions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Aug 2004 07:28:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accept-language-for-cl-http-client/m-p/807382#M41443</guid>
      <dc:creator>dhorions</dc:creator>
      <dc:date>2004-08-24T07:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Accept-Language for cl_http_client</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accept-language-for-cl-http-client/m-p/807383#M41444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dries,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You wrote an ABAP program to generate Web Page and store them in the ICM-Cahce, that's right ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do you generated the page, is it by calling a function module ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure only the English version is store in the ICM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you define a web page in SE80 , you can set the language of your page as a parameter value sy-language.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tell me more about your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;Bertrand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Sep 2004 09:57:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accept-language-for-cl-http-client/m-p/807383#M41444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-09-13T09:57:38Z</dc:date>
    </item>
  </channel>
</rss>

