title: How to detect if a request comes from a progressive-web-app on the backend
body: <p>I am coding currently a progressive-web-app. I would like to be able to determine in the request whether or no the client is making the request from a PWA or not. Apparently the code below can be used for clientside detection but I'd like to know on the backend for some functionality I'm planning. Thanks</p>
  
  <pre><code>isInWebAppiOS = (window.navigator.standalone == true);
  isInWebAppChrome = (window.matchMedia('(display-mode: standalone)').matches);
  </code></pre>