fix redirect on posts not working (I hope)

add parsing and checking for if the remote accepts a given type