pass format and accept header to sameAs resource