On Fri, Apr 25, 2008 at 01:05:02PM +0200, Andreas K. Foerster wrote:
Am Thursday, dem 24. Apr 2008 schrieb Thomas Dickey:
Then, if I add a link in the generated page, activating that link
uses a GET - for my testcase. Perhaps your generated page is a form
(also using POST). If I can see what the whole picture looks like,
then I can respond better.
I send you a test-script with this mail.
The link named "New" is a normal link should use GET, and it does that
in other browsers, but not in my lynx.
I can reproduce it. Lynx's trace shows that it looks for the URL in
its memory, finds it (the right one), then goes to load it. As I
read the code, it seems that the reason it then POSTs again is that
it still has the post-data at hand for the URL, and just uses its
existence to decide that it's ready to POST in the process of loading.
The simplest solution (which might be correct - will have to check)
would be to discard that data immediately after it is used to POST the form.