title: Using the "Post / Redirect / Get" pattern in Lynx doesn't work because Lynx doesn't redirect
body: <p>After doing a POST to save a page, I return with a redirect the GET page (ie. the <a href="http://en.wikipedia.org/wiki/Post/Redirect/Get" rel="nofollow">"Post/Redirect/Get"</a> pattern).</p>
  
  <p>This works fine in all the "mainstream" (and some not-so-mainstream) browsers I tested, <em>except</em> for lynx &amp; derivatives (links, elinks); they do the POST, I return a 303, and the browser just stays on the other page (it doesn't load the URL in the GET response).</p>
  
  <p>I tried using a 302 &amp; 301, and setting the <code>Cache-Control</code> header to <code>no-cache</code>; which made no difference.</p>
  
  <p>Example response from my server after doing a <code>POST /</code>:</p>
  
  <pre><code>HTTP/1.1 303 See Other
  Server: nginx/1.6.2
  Date: Sat, 10 Jan 2015 17:32:11 GMT
  Content-Type: text/html;charset=utf-8
  Content-Length: 0
  Location: http://localhost/
  Connection: keep-alive
  X-Xss-Protection: 1; mode=block
  X-Content-Type-Options: nosniff
  X-Frame-Options: SAMEORIGIN
  </code></pre>
  
  <p>I happen to be using Sinatra, so here's an example application in Sinatra which demonstrates the problem:</p>
  
  <pre><code>#!/usr/bin/env ruby
  
  require 'bundler/setup'
  require 'sinatra'
  
  get '/' do
      "&lt;form method='post'&gt;#{Time.now.to_s}&lt;textarea name='test'&gt;&lt;/textarea&gt;&lt;button&gt;POST&lt;/button&gt;&lt;/form&gt;"
  end
  post('/') { redirect '/' }
  </code></pre>
  
  <p>Is this by design? Or a different reading of the HTTP spec than most other browsers? How do I "force" lynx to do the redirect and GET the page again?</p>
  
  <p>Tested in:</p>
  
  <pre><code>[~]% lynx --version
  Lynx Version 2.8.8rel.1 (14 Feb 2014)
  libwww-FM 2.14, SSL-MM 1.4.1, OpenSSL 1.0.1k, ncurses 5.9.20110404
  
  [~]% links -version
  Links 2.9
  
  [~]% elinks -version
  ELinks 0.13.GIT a3751107033599b835eaafa61177c8d4dda4b7ef-dirty
  </code></pre>