modified YapHeader to instead send 302, its better this way