> Great! +1
>
> The following points are different facets of the same thing:
>
> [0]
> + "%s.html" % errorfile["http_status"])
>
> The HAProxy configuration suggests to call the files *.http instead, since
> their content is printed to the socket verbatim (it's really a serialized http
> response, not an HTML file).
Ah, I had read that once but it didn't stick in my brain. Fixed now.
> [1]
> + errorfiles = [{'http_status': 403, 'path': '/path/403.html',
> + 'content': base64.b64encode('<html></html>')}]
>
> Similar comment, it would probably be good to use complete values to serve as
> an example, like: http://paste.ubuntu.com/6567575/
Fixed.
> [2]
> +# content: base 64 content to serve as doc
>
> Maybe rephrase to "base 64 content for HAproxy to print to socket"?
> Great! +1 "http_status" ])
>
> The following points are different facets of the same thing:
>
> [0]
> + "%s.html" % errorfile[
>
> The HAProxy configuration suggests to call the files *.http instead, since
> their content is printed to the socket verbatim (it's really a serialized http
> response, not an HTML file).
Ah, I had read that once but it didn't stick in my brain. Fixed now.
> [1] b64encode( '<html> </html> ')}] paste.ubuntu. com/6567575/
> + errorfiles = [{'http_status': 403, 'path': '/path/403.html',
> + 'content': base64.
>
> Similar comment, it would probably be good to use complete values to serve as
> an example, like: http://
Fixed.
> [2]
> +# content: base 64 content to serve as doc
>
> Maybe rephrase to "base 64 content for HAproxy to print to socket"?
Fixed. Thanks, tribaal!