#2169 HTTP Status Code 308 - Permanent Redirect

SlimerDude Sat 13 Jul 2013

Hi,

Can Wisp && Web be updated to allow the 308 http response status code? Currently WispRes.statusCode throws an Err if the status code isn't in the WebRes.statusMsg list - which 308 currenly isn't.

Status 308 is defined in:

http://tools.ietf.org/html/draft-reschke-http-status-308-07

as referenced from the IANA status code registry at:

http://www.iana.org/assignments/http-status-codes/http-status-codes.xml

Link to confirmation of 308 approval:

http://stackoverflow.com/questions/14144664/whats-the-deal-with-http-status-code-308

SlimerDude Sat 13 Jul 2013

And can we add 418 Im a teapot while we're at it!? As defined in

http://tools.ietf.org/html/rfc2324#section-2.3.2

Cheers.

brian Sat 13 Jul 2013

Actually I think we should just allow any status code. I pushed a change for that if you want to try it out

SlimerDude Sat 13 Jul 2013

Cool - I thought I may be pushing my luck if I asked for that! :P

Login or Signup to reply.