update example to set Allow header