lib/utopia/controller/respond.rb
def process!(request, path)
				if response = super
					headers = response[1]
					
					# Don't try to convert the response if a content type was explicitly specified.
					if headers[HTTP::CONTENT_TYPE]
						return response
					else
						return self.response_for(request, response)
					end
				end
			end
# Invokes super. If a response is generated, format it based on the Accept: header, unless the content type was already specified.
Invokes super. If a response is generated, format it based on the Accept: header, unless the content type was already specified.
Invokes super . If a response is generated format it based on the Accept : header unless the content type was already specified .
def process!(request, path)
				if response = super
					headers = response[1]
					if headers[HTTP::CONTENT_TYPE]
						return response
					else
						return self.response_for(request, response)
					end
				end
			end
def process! ( request , path ) if response = super headers = response [ 1 ] if headers [ HTTP :: CONTENT_TYPE ] return response else return self . response_for ( request , response ) end end end
Invokes super.
Invokes super .
# Don't try to convert the response if a content type was explicitly specified.
request
path