Page 1 of 1
"X-Failure Header" feature in 0.7.18
Posted: July 6th, 2014, 9:06 pm
by iceberg
In the notes for
0.7.18 release it says"
Support for X-Failure header (leading to an alternative NZB)
.
Can any explain what this is, or provide a link?
Re: "X-Failure Header" feature in 0.7.18
Posted: July 8th, 2014, 4:22 am
by shypike
It's mostly interesting for members of oznzb.com, they will announce their support soon.
More implementations may follow.
It allows indexers to send an alternative NZB automatically when the first one fails to complete successfully.
Re: "X-Failure Header" feature in 0.7.18
Posted: September 26th, 2014, 12:46 am
by blindpet
It is also supported by dognzb.cr. Guide on setting it up
here for those interested.
Re: "X-Failure Header" feature in 0.7.18
Posted: September 27th, 2014, 7:21 am
by oneman
Is there any information about how X-Failure Header support can be integrated into a personal indexer I run.
Re: "X-Failure Header" feature in 0.7.18
Posted: September 28th, 2014, 4:42 am
by shypike
If your indexer has the concept alternative NZB files,
you send a URL for the alternative NZB along with the first.
SABnzbd will call that URL when the original download fails to
get the next NZB.
Re: "X-Failure Header" feature in 0.7.18
Posted: September 28th, 2014, 11:17 am
by oneman
shypike wrote:If your indexer has the concept alternative NZB files,
you send a URL for the alternative NZB along with the first.
SABnzbd will call that URL when the original download fails to
get the next NZB.
I know what its supposed to do, what I wanted to know is there a API specification or something, can't be as simple as sending two NZB, they have to be linked somehow.
Using nzedb based indexer which is forked of nn+.
Re: "X-Failure Header" feature in 0.7.18
Posted: September 28th, 2014, 11:32 am
by shypike
SABnzbd has no knowledge of how the server implements this (nor have I).
The only thing it does is use the url to get another file if a download fails.
All intelligence is on the server side.
Re: "X-Failure Header" feature in 0.7.18
Posted: September 28th, 2014, 3:41 pm
by oneman
OK, thanks for the information.
I thought there was something code on the sabnzb side as it has to know which URL to fall back to if the first one fails.
Re: "X-Failure Header" feature in 0.7.18
Posted: September 29th, 2014, 2:48 am
by shypike
The X-Failure header contains the URL for an alternative NZB file.
The header is already sent by the indexer when you retrieve the original NZB.
SABnzbd saves the URL and uses it when the download based on the original NZB fails.
The server may even have a chain of NZBs that can be offered in this way.