make web.post optionnally return headers just like web.get

not sure why this wasn't already the case, but it's quite useful to handle POST failures without having to parse arbitrary HTML