protected void RespondTo(Action<ResponseFormat> collectFormats)
		{
			MimeTypes registeredMimes = GetRegisteredMimeTypes();
			
			ResponseHandler handler = new ResponseHandler()
			{
				ControllerBridge = GetControllerBridgeForAction(_controllerAction),
				AcceptedMimes = GetAcceptedTypes(registeredMimes),
				Format = new ResponseFormat(registeredMimes)
			};

			collectFormats(handler.Format);
			handler.Respond();
		}
        protected void RespondTo(Action<ResponseFormat> collectFormats)
        {
            MimeTypes registeredMimes = new MimeTypes();
            registeredMimes.RegisterBuiltinTypes();

            ResponseHandler handler = new ResponseHandler();
            handler.ControllerBridge = new ControllerBridge(this, _controllerAction);
            handler.AcceptedMimes = AcceptType.Parse(Request.Headers["Accept"], registeredMimes);
            handler.Format = new ResponseFormat();

            collectFormats(handler.Format);
            handler.Respond();
        }