<?xml version="1.0" encoding="utf-8" ?>
<container xmlns="http://symfony.com/schema/dic/services"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xmlns:framework="http://symfony.com/schema/dic/symfony"
           xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
        http://symfony.com/schema/dic/symfony http://symfony.com/schema/dic/symfony/symfony-1.0.xsd">

    <framework:config http-method-override="false" handle-all-throwables="true">
        <framework:annotations enabled="false" />
        <framework:php-errors log="true" />
        <framework:http-client>
            <framework:default-options>
                <framework:header name="X-powered">PHP</framework:header>
                <framework:caching enabled="true" cache-pool="foo" shared="false" max-ttl="2"/>
            </framework:default-options>
            <framework:scoped-client name="bar" base-uri="http://example.com">
                <framework:caching cache-pool="baz"/>
            </framework:scoped-client>
        </framework:http-client>
    </framework:config>
</container>
