Google and Social Media should be able to get the <head> data even if there is a Gateway.
Those make a request using HEAD method.
So let's implement the possibility to restrict access for methods all without HEAD one.
TODO:
- create possibility to store
<head> data separately;
- ex: in
layouts/[...]/head.php.
- allow specific routes to overwrite this head;
- ex: in
outcomes/[...]/head.php
- for HEAD method, return only head data, instead of the entire layout.
Note: making Gateway bypass HEAD method (from gates/ folder) is the responsibility of the developer (the user of Arshwell).
Note: this task is part of the milestone named Improve Request methods usage.
Google and Social Media should be able to get the
<head>data even if there is a Gateway.Those make a request using HEAD method.
So let's implement the possibility to restrict access for methods all without HEAD one.
TODO:
<head>data separately;layouts/[...]/head.php.outcomes/[...]/head.phpNote: making Gateway bypass HEAD method (from gates/ folder) is the responsibility of the developer (the user of Arshwell).
Note: this task is part of the milestone named Improve Request methods usage.