Matthew Holt
baf6db5b57
Apply Apache license to all .go source files ( closes #1865 )
...
I am not a lawyer, but according to the appendix of the license,
these boilerplate notices should be included with every source file.
2017-09-22 23:56:58 -06:00
Matthew Holt
b5ec462299
internal: Allow use for only X-Accel-Redir ( closes #1020 )
...
(allow no arguments of paths to protect)
2017-08-09 10:36:54 -06:00
Tw
8e7a36de45
ResponseWriterWrapper and HTTPInterfaces ( #1644 )
...
Signed-off-by: Tw <tw19881113@gmail.com>
2017-05-05 09:42:06 -06:00
Tw
f58653bc13
internal: inherit original ResponseWriter's interfaces
...
Signed-off-by: Tw <tw19881113@gmail.com>
2017-05-02 10:53:16 +08:00
Simon Lightfoot
de7bf4f241
Enable downloading of protected content. See issue #979 ( #980 )
...
* Fix for stripping of 'Content-Disposition' and other headers from 'X-Accel-Redirect' redirect scripts.
* Added test case for header manipulation of redirect response.
2016-08-07 23:16:33 -06:00
Matthew Holt
416af05a00
Migrating more middleware packages
2016-06-05 21:51:56 -06:00