<doc>
  <legacy_id>1320</legacy_id>
  <name>libURLLastRHHeaders</name>
  <type>function</type>
  <syntax>
    <example>libURLLastRHHeaders()</example>
  </syntax>
  <library>Internet library</library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Networks &amp; Communication</category>
    <category>Standalone Applications</category>
  </classification>
  <references>
    <keyword tag="http">http Keyword</keyword>
    <function tag="libURLLastHTTPHeaders">libURLLastHTTPHeaders Function</function>
    <command tag="load">load Command</command>
    <function tag="URLStatus">URLStatus Function</function>
    <property tag="httpHeaders">httpHeaders Property</property>
  </references>
  <history>
    <introduced version="1.1.1">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
  </classes>
  <security>
    <network/>
  </security>
  <summary><glossary tag="return">Returns</glossary> the headers sent by the remote host in the most recent HTTP transaction.</summary>
  <examples>
    <example>if libURLLastRHHeaders() is mostRecentSet then exit to top</example>
  </examples>
  <description>
    <p>Use the <b>libURLLastRHHeaders</b> <control_st tag="function">function</control_st> to respond to custom header information that the <glossary tag="Internet library">Internet library</glossary> does not handle.</p><p/><p><b>Value:</b></p><p>The <b>libURLLastRHHeaders</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> a string.</p><p/><p><b>Comments:</b></p><p>Whenever another system sends data via HTTP to your system, the remote system sends an HTTP header along with the data. This header generally consists of several lines and may include the request type, the HTTP protocol version being used, and other information.</p><p/><p><img src="202653"/> <b>Important!</b> The <b>libURLLastRHHeaders</b> <control_st tag="function">function</control_st> is part of the <glossary tag="Internet library">Internet library</glossary>. To ensure that the <control_st tag="function">function</control_st> works in a <glossary tag="standalone application">standalone application</glossary>, you must include this <glossary tag="LiveCode custom library">custom library</glossary> when you create your <glossary tag="standalone application">standalone</glossary>. In the Inclusions section of the <glossary tag="Standalone Application Settings">Standalone Application Settings</glossary> window, make sure "Internet Library" is selected in the list of script libraries.</p>
  </description>
</doc>