Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: php-curl-class/php-curl-class
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: KTP95/php-curl-class
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Aug 25, 2015

  1. Bug Fix - unsetHeader

    The unsetHeader bad work, 
    for example
    $curl->setHeader('Host','example.com');
    $curl->unsetHeader('Host');
    $curl->get('http://127.0.0.1/');
    ---------
    This request is make with Header "Host" = '' (empty string), because unsetHeader bad work
    
    with the my fix the header 'Host' with be deleted and curl auto-retrive the right header.
    horever is already possible make request with header 'Host' = '' (empty string) with $curl->setHeader('Host', '' );
    
    also remove a bad comment about fuction
       *		
    -     * @return string
    in setHeader()
    KTP95 committed Aug 25, 2015
    Configuration menu
    Copy the full SHA
    4390dc1 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2015

  1. Configuration menu
    Copy the full SHA
    b5a0a33 View commit details
    Browse the repository at this point in the history
Loading