class Falcon::Adapters::Rewindable

def needs_rewind?(request)

@returns [Boolean]
@parameter request [Protocol::HTTP::Request]
Determine whether the request needs a rewindable body.
def needs_rewind?(request)
	content_type = request.headers['content-type']
	
	if request.method == POST and content_type.nil?
		return true
	end
	
	if BUFFERED_MEDIA_TYPES =~ content_type
		return true
	end
	
	return false
end