Why is my browser not sending any referrer?

Adrien Morel picture Adrien Morel · Apr 3, 2016 · Viewed 12.9k times · Source

I have an html page with the following code.

  <form method="POST" action="https://formspree.io/email">
    <input type="submit" value="SEND"/>
  </form>

My browser does not include the referrer header field in the http request when a user submits the form. Why wouldn't it ?

Answer

Jeffrey Jenkinson picture Jeffrey Jenkinson · Mar 24, 2017

I fixed this by adding <meta name="referrer" content="origin"> to the <head> section of my HTML page.