support http OPTIONS method