def xml_output(f):
@wraps(f)<EOL>def xml_output_inner_fn(*args, **kwargs):<EOL><INDENT>ret_val = f(*args, **kwargs)<EOL>if isinstance(JobContext.get_current_context(), WebJobContext):<EOL><INDENT>JobContext.get_current_context().add_responder(<EOL>MimeSetterWebTaskResponder('<STR_LIT>'))<EOL><DEDENT>return ret_val<EOL><DEDENT>return xml_output_inner_fn<EOL>
Set content-type for response to WEB-REQUEST to 'text/xml'