trailofbits/twa

Redirection test should recognize 308s

woodruffw opened this issue · 1 comments

308 is a valid permanent redirect code like 301, so twa should handle it correctly. Right now, it results in an UNK:

UNK(redacted): HTTP sends an HTTPS location but with a weird response code: 308

I would like to offer a PR to address this issue, it that's okay.