hapic
hapic copied to clipboard
Allow to set cache policy for ressource given with serve directory (and more ?)
Currently:
There is no way to configure serve_directory method. So, there is no way to send specific header like cache-related one with resource obtain with serve_directory.
Expected:
Allow to set cache policy for serve_directory resource. One generic solution may to allow return custom headers there.