BUG/MINOR: http: Return the right reason for 302

Because of a cut/paste error, the wrong reason was returned for 302
code. The 301 reason was returned instead. Thus now, "Found" is returned for
302, instead of "Moved Permanently".

This pathc should fix the issue 2208. It must be backported to all stable
versions.

(cherry picked from commit e3e4e00063f359d6113144bddff67d3557a9eedb)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 7bddacbb18d9dc4887c49dd03cf548c04fc8025d)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit abf634287ba12d4108230e9f8bdb08be2e432847)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 4124ce10758595a8ba91e2fb9ed546631b3e7351)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed