Ahmad Nassri
b6328f270f
chore(travis): fix namespacing issues
2016-02-24 23:23:54 -05:00
Ahmad Nassri
1e86cc751f
chore(travis): move to container mode in travis
2016-02-24 23:13:33 -05:00
Ahmad Nassri
825cee7dc7
chore(travis): fix namespacing issues
2016-02-24 23:12:45 -05:00
Ahmad Nassri
eb470e929c
chore(travis): test on all current PHP versions
2016-02-24 23:02:39 -05:00
Ahmad Nassri
d23cdc5593
refactor(request): request body management is now externalized to helper methods
2016-02-24 23:01:21 -05:00
Ahmad Nassri
0f3a22d63e
feat(json): json pecl extension may be available all the time
2016-02-24 22:07:25 -05:00
Ahmad Nassri
f7f13bd940
Merge pull request #91 from Furgas/fix-curlfile
...
Fix creating CURLFile
2016-02-16 14:25:22 -05:00
Tomasz Sawicki
d950a88257
Fix creating CURLFile
2016-02-16 19:54:45 +01:00
Ahmad Nassri
73c2d90323
Merge pull request #90 from Furgas/fix-phpdoc
...
Fix PHPDoc
v2.6.6
2016-02-16 11:45:52 -05:00
Tomasz Sawicki
d0fc831a00
Fix PHPDoc
2016-02-16 10:49:00 +01:00
Ahmad Nassri
4a480b156b
Merge pull request #89 from RusinovIG/master
...
Fixed setting of default headers array
v2.6.5
2016-01-20 14:41:35 -05:00
Igor Rusinov
ca6a3b1daf
Fixed setting of default headers array
2016-01-18 23:24:14 +03:00
Ahmad Nassri
da71f063cf
Merge pull request #88 from frankdee/master
...
improved solution to override cURL options …
v2.6.4
2015-12-15 17:22:11 -05:00
frankdee
be5ee63ad1
shortened cURL options array merging
2015-12-14 19:17:31 +01:00
frankdee
32334a6bfa
improved solution to override cURL options, that preserves the right indices in cURL option arrays
...
(Note: PHP seems to not override all options when calling 'curl_setopt_array(..)' several times after another)
2015-12-14 13:55:49 +01:00
Ahmad Nassri
e11c54d29c
Merge pull request #86 from Mashape/curlopts-override-fix
...
allow to override curlopts
v2.6.3
2015-12-11 18:41:55 -05:00
Ahmad Nassri
a3312a0ecd
allow to override curlopts
2015-12-11 18:38:09 -05:00
Augusto Marietti
fde6f41733
Update README.md
2015-10-16 19:40:03 -07:00
Ahmad Nassri
75258a2024
Merge pull request #83 from mircobabini/patch-1
...
fix composer command
2015-09-03 11:12:21 -04:00
Mirco Babini
b330685820
fix composer command
2015-09-03 15:39:52 +02:00
Augusto Marietti
2f7aea9f63
Update README.md
2015-07-28 00:27:17 -07:00
Ahmad Nassri
f04b42e75e
Merge pull request #81 from gabrielzerbib/master
...
phpdoc return type for ::post
v2.6.2
2015-07-27 12:17:35 -07:00
Gabriel Zerbib
32c1a9fef0
Merge branch 'master' of https://github.com/gabrielzerbib/unirest-php
2015-07-27 22:07:56 +03:00
Gabriel
2b5b349036
phpdoc return type for ::post
2015-07-27 22:07:05 +03:00
Gabriel
1017f14ef5
phpdoc return type for ::post
2015-07-27 14:57:24 +03:00
Ahmad Nassri
99c6975f23
Merge pull request #79 from voodoodrul/patch-1
...
Allow disabling of CURLOPT_SSL_VERIFYHOST
2.6.1
2015-06-08 13:29:31 -04:00
Jesse Skrivseth
f257217434
Fix CURLOPT_SSL_VERIFYHOST issue
...
libcurl's CURLOPT_SSL_VERIFYHOST option accepts only values 0 and 2. This fix is fail-secure in that SSL host verification will be enabled regardless of what a caller passes to Request::verifyHost($bool) unless $bool === false.
2015-06-08 08:50:58 -06:00
Jesse Skrivseth
c9c0a85250
Allow disabling of CURLOPT_SSL_VERIFYHOST
...
Useful when the SSL cert has an invalid or non-resolvable hostname
2015-06-05 19:50:11 -06:00
Ahmad Nassri
3e375515fe
Update README.md
2015-04-22 11:40:44 -04:00
Ahmad Nassri
b6fb76ce12
oops, forgot notifications
2015-04-09 12:29:10 -04:00
Ahmad Nassri
5926846300
events are required for gitter hook?
2015-04-09 12:02:12 -04:00
Ahmad Nassri
feae18f980
add gitter webhook
2015-04-09 11:22:15 -04:00
Ahmad Nassri
b0df287d64
README fix
v2.6.0
2015-04-08 17:36:02 -04:00
Ahmad Nassri
4221ee5138
setting custom curl options
...
- `Unirest\Request::curlOpt()`
- `Unirest\Request::curlOpts()`
- `Unirest\Request::clearCurlOpts()`
fixes #78
2015-04-08 17:35:14 -04:00
Ahmad Nassri
ec5828c8aa
Merge pull request #77 from cristianp6/master
...
Fixed "Undefined variable: ch" and add cookie string support
v2.5.0
2015-04-03 13:08:41 -04:00
cristianp6
0293eb258c
Add cookie string support, aka CURLOPT_COOKIE
2015-04-03 12:04:49 +02:00
cristianp6
a1ed45be55
Fixed "Notice: Undefined variable: ch" on curl_setopt cookieFile
2015-04-03 11:16:17 +02:00
Ahmad Nassri
8da79e7898
updating README and fixing typo
v2.4.0
2015-04-02 14:22:32 -04:00
Ahmad Nassri
217b436124
manually applying PR by @daydiff due to complex merge issues, closes #67
2015-04-02 14:11:23 -04:00
Ahmad Nassri
d508bd9628
Merge pull request #76 from vlakarados/master
...
Add PHP version to readme.md's requirements
2015-03-30 03:40:31 -04:00
Sergey Telshevsky
7116894dad
Add PHP version to readme.md's requirements
2015-03-30 10:33:46 +03:00
Ahmad Nassri
f31ce371a0
updating all tests and docs to mockbins.com
v2.3.1
2015-03-07 06:00:42 -05:00
Ahmad Nassri
530905c7c9
switch to using curl_setopt_array for better readability, added utility methods Fixes #66
v2.3.0
2015-03-01 02:48:16 -05:00
Ahmad Nassri
139b58019c
Merge pull request #68 from thibaultCha/feature/set-mashape-key
...
Native 'setMashapeKey' method for X-Mashape-Key header
2015-02-10 20:16:30 -08:00
thibaultCha
8b47e051ba
Set Mashape Key by calling setDefaultHeader
2015-02-05 23:02:12 -08:00
thibaultCha
491064f40b
Add test for setMashapeKey
2015-02-05 21:09:01 -08:00
thibaultCha
fb241f6898
Native 'setMashapeKey' method for X-Mashape-Key header
2015-02-05 20:49:06 -08:00
Ahmad Nassri
f6fc64103f
Update README.md
2015-02-05 14:31:38 -05:00
Ahmad Nassri
11cf1eaa9f
Update README.md
2015-02-05 14:04:02 -05:00
Ahmad Nassri
d5a7ad40bd
fix to deprecated method + more tests
v2.2.1
2015-02-05 13:00:49 -05:00