c") { header("HTTP/1.1 201 Created"); header("Content-Type: text/xml"); echo strip_tags($content); } } else { header("HTTP/1.1 406 Invalid Encoding"); header("Content-Type: text/plain"); echo "Please ensure content type is an XML format."; } break; default: header("HTTP/1.1 405 Method Not Allowed"); header("Content-Type: text/plain"); echo "Method Not Allowed"; break; } ?>