Actions
Feature #1054
closedmod_secdownload error codes should be configurable
Status:
Obsolete
Priority:
Normal
Category:
mod_secdownload
Target version:
-
ASK QUESTIONS IN Forums:
No
Description
right now, mod_secdownload gives either 403 or 408 as error codes in the two conditions of timeout and invalid hashes, I would prefer to set either 412 (Precondition failed for failed hash) or 410 (Gone for timeout), this can be easily done by patching the source, but it would be nicer to have config vars secdownload.errorcode_...=nnn
Updated by stbuehler over 15 years ago
- Status changed from New to Fixed
- Resolution set to wontfix
And perhaps you want us to send 600 instead of 500 for internal server errors...
I think the current values are good, and if you need other ones: do it yourself. (412 for wrong hash??? just as a stupid user tried to fake a hash or your script has a bug?)
Actions
Also available in: Atom