anchor.diff:  owner: Core Services
   ---
   
  -
  +<div class="quick-links">
  +    <ul>
  +        <li><a href="#introduction">Introduction</a></li>
  +        <li><a href="#architecture">Architecture</a>
  +            <ul>
  +                <li><a href="#fully-brokered">Fully-Brokered Service</a></li>
  +                <li><a href="#static-brokered">Static, Brokered Service</a></li>
  +                <li><a href="#user-provided">User-Provided Service</a></li>
  +                <li><a href="#architecture-comparison">Architecture Comparison</a></li>
  +            </ul>
  +        </li>
  +        <li><a href="#service-instance-responsibilities">Service Instance Responsibilities</a></li>
  +        <li><a href="#broker-responsibilities">Broker Responsibilities</a></li>
  +        <li><a href="#examples">Example Route Services</a></li>
  +        <li><a href="#tutorial">Tutorial</a></li>
  +        <% if vars.product_name == "CF" %>
  +        <li><a href="#security-considerations">Security Considerations</a>
  +            <ul>
  +            <li><a href="#secure-route-services"></a>Recommendations for Securing Route Services</li>
  +            </ul>
  +        </li>
  +        <% end %>
  +    </ul>
  +</div>
   
   This documentation is intended for service authors who are interested in 
   offering a service to a Cloud Foundry (CF) services marketplace. Developers 
  
positive.code: 
  <%= vars.route_services_config %>
  
  ## <a id='service-instance-responsibilities'></a>Service Instance Responsibilities ##
  
  The following applies only when a broker returns `route_service_url` in the bind response.
  
  #### <a id='how-it-works'></a>How It Works ####
  
  Binding a service instance to a route associates the `route_service_url` with the route in the CF router. All requests for the route are proxied to the URL specified by `route_service_url`.
  
  Once a route service completes its function it may choose to forward the request to the originally requested URL or to another location, or it may choose to reject the request; rejected requests will be returned to the originating requestor. The CF router includes a header that provides the originally requested URL, as well as two headers that are used by the router itself to validate the request sent by the route service. These headers are described below in [Headers](#headers).
  
  #### <a id='headers'></a>Headers ####
  
  The following HTTP headers are added by the Gorouter to requests forwarded to route services.
  
  
negative.code: 
  <%= vars.route_services_appsman1 %>
  
  ## <a name='architecture'></a>Architecture ##
  
  Cloud Foundry supports the following three models for Route Services: 
  
  