title: Submit a "pure" HTTP request from HTML page
body: <p>I need to send the following HTTP request to my REST server from an HTML page to retrieve another page. How to do that using javascript or forms or links or whatever ?</p>
  
  <p>Note that the HTTP request body must contain plain text with no key/value pairs as a form usually does.</p>
  
  <pre><code>PUT /somerequest HTTP/1.1
  Host: www.myhost.com
  Accept: text/html,application/xhtml+xml
  
  Payload of the request to be read by the server script.
  The script will return a HTML content to my browser.
  Thanks !
  </code></pre>