Permalink
Browse files

minor #277 readme: change HTTP urls to HTTPS (tuxayo)

This PR was merged into the 3.1-dev branch.

Discussion
----------

readme: change HTTP urls  to HTTPS

On those that support HTTPS.
Especially since there is a login + passphrase example.

Commits
-------

0280e19 readme: change HTTP urls  to HTTPS
  • Loading branch information...
fabpot committed Nov 15, 2016
2 parents 9d35ba5 + 0280e19 commit 4ebf0e28a0cd10b33ddbd2bc36ad733e174a913e
Showing with 6 additions and 6 deletions.
  1. +6 −6 README.rst
View
@@ -45,7 +45,7 @@ Make requests with the ``request()`` method:
.. code-block:: php
// Go to the symfony.com website
$crawler = $client->request('GET', 'http://www.symfony.com/blog/');
$crawler = $client->request('GET', 'https://www.symfony.com/blog/');
The method returns a ``Crawler`` object
(``Symfony\Component\DomCrawler\Crawler``).
@@ -85,7 +85,7 @@ Submit forms:
.. code-block:: php
$crawler = $client->request('GET', 'http://github.com/');
$crawler = $client->request('GET', 'https://github.com/');
$crawler = $client->click($crawler->selectLink('Sign in')->link());
$form = $crawler->selectButton('Sign in')->form();
$crawler = $client->submit($form, array('login' => 'fabpot', 'password' => 'xxxxxx'));
@@ -118,8 +118,8 @@ License
Goutte is licensed under the MIT license.
.. _`Composer`: http://getcomposer.org
.. _`Composer`: https://getcomposer.org
.. _`Guzzle`: http://docs.guzzlephp.org
.. _`BrowserKit`: http://symfony.com/components/BrowserKit
.. _`DomCrawler`: http://symfony.com/doc/current/components/dom_crawler.html
.. _`CssSelector`: http://symfony.com/doc/current/components/css_selector.html
.. _`BrowserKit`: https://symfony.com/components/BrowserKit
.. _`DomCrawler`: https://symfony.com/doc/current/components/dom_crawler.html
.. _`CssSelector`: https://symfony.com/doc/current/components/css_selector.html

0 comments on commit 4ebf0e2

Please sign in to comment.