add vary header for content negotiation
add moved permanently response type