client: use 307 instead of 302 for HTTPS redirects
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 30 May 2015 21:13:08 +0000 (23:13 +0200)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 30 May 2015 21:13:08 +0000 (23:13 +0200)
commitdaeea305298197bb50c1e63cdd842ee1d9461d80
tree5f3e58a8c7ea34ac281f8f88d6e8892b0bd77615
parenta91aac9419f535f067ac17c16475912062d947ea
client: use 307 instead of 302 for HTTPS redirects

Use the 307 code to force agents to retain the original request method.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
client.c