More control over the request or access to all header values returned require that you use the object oriented interface described for GET above. There is no simple procedural interface for posting data to a WWW server. You must use the object oriented interface for this. Some sites use proxies to go through fire wall machines, or just as cache in order to improve performance. Study the lwp-request program for an example of this.
Some sites like to play games with cookies.
By default LWP ignore cookies provided by the servers it visit. You can make it start collecting them by setting up a cookie jar. If the document you want to fetch is too large to be kept in memory, then you have two alternatives.