title: How to get the #fragment identifier part of an URL
body: <p>In Phoenixframework I want to know full URL path that is being requested so I tried to use <code>&lt;%= @conn.request_path %&gt;</code>.
  The problem is that I'm requesting :<code>/spa.html#pageone</code> and I'm getting only <code>/spa.html</code>.
  What is the correct way of also getting the <code>#fragment</code> identifier part of it?</p>