actually that's not quite right because it doesn't include the content-type header - but see the attached branch
actually that's not quite right because it doesn't include the content-type header - but see the attached branch