mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Remove duplicated Content-disposition header
This commit is contained in:
@@ -127,7 +127,6 @@ class GetNzbController extends BasePageController
|
||||
$cleanName = str_replace([',', ' ', '/'], '_', $relData['searchname']);
|
||||
|
||||
$headers = [
|
||||
'Content-Disposition:' => 'attachment; filename='.$cleanName.'.nzb',
|
||||
'Content-Type:' => 'application/x-nzb',
|
||||
'Expires:' => date('r', Carbon::now()->addDays(365)->timestamp),
|
||||
'X-DNZB-Failure:' => $this->serverurl.'failed'.'?guid='.$request->input('id').'&userid='.$uid.'&rsstoken='.$rssToken,
|
||||
|
||||
Reference in New Issue
Block a user