Commit 2696bab0 authored by Lasse Karstensen's avatar Lasse Karstensen

Document that resp.status overwrites resp.reason.

For those cases where you want to send a different reason
message, but use the normal status code.

Noticed by Kacper when doing 301/302 in vcl_synth().
parent 4013504d
......@@ -689,6 +689,9 @@ sp_variables = [
( 'deliver', 'synth', ),
( 'deliver', 'synth', ), """
The HTTP status code that will be returned.
Assigning a HTTP standardized code to resp.status will also
set resp.reason to the corresponding status message.
"""
),
('resp.reason',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment