title: How to send a referer request in a url for a webView
body: <p>I need to display a web page in my Android app which is looking for a referer to bypass the security. I'm new to Android so I know how to display the web page in a web view but not how to send the 'referer' along with the url request. I'm sure it will need to update the HTTPHeaderField but I cannot find any reference for it in Android. The code below is what I'm using to bring up the web page but without the 'referer' it says 'Access Denied'</p>
  
  <pre><code>WebView webview = new WebView(this);
  setContentView(webview);
  webview.loadUrl("http://www.mywebsite.com");
  </code></pre>
  
  <p>I think the answer may lie in the WebView.LoadURL method which adds extra headers but I can't find any examples of it.</p>