Jan Oris hace 7 años
padre
commit
3b43c900d4
Se han modificado 3 ficheros con 8 adiciones y 4 borrados
  1. 4 0
      CHANGELOG.md
  2. 3 3
      README.md
  3. 1 1
      composer.json

+ 4 - 0
CHANGELOG.md

@@ -2,6 +2,10 @@
 
 All Notable changes to `ixudra/curl` will be documented in this file
 
+## 6.13.0 - 2017-10-10
+### Added
+- Added content type to responseObject
+
 ## 6.12.2 - 2017-08-23
 ### Fixed
 - Reverted type hinting in `withData()` method

+ 3 - 3
README.md

@@ -413,12 +413,12 @@ any validation on the cURL options. Additional information about available cURL
 | asJsonRequest()       |  false            | Submit the request data as JSON                                   |
 | asJsonResponse()      |  false            | Decode the response data from JSON                                |
 | asJson()              |  false            | Utility method to set both `asJsonRequest()` and `asJsonResponse()` at the same time   |
-| withHeader()          |  array()          | Add an HTTP header to the request                                 |
-| withHeaders()         |  array()          | Add multiple HTTP headers to the request                          |
+| withHeader()          |  array            | Add an HTTP header to the request                                 |
+| withHeaders()         |  array            | Add multiple HTTP headers to the request                          |
 | withContentType()     |  none             | Set the content type of the response                              |
 | withFile()            |  none             | Add a file to the form data to be sent                            |
 | containsFile()        |  false            | Should be used to submit files through forms                      |
-| withData()            |  array()          | Add an array of data to sent with the request (GET or POST)       |
+| withData()            |  array            | Add an array of data to sent with the request (GET or POST)       |
 | setCookieFile()       |  none             | Set a file to read cookies from                                   |
 | setCookieJar()        |  none             | Set a file to store cookies in                                    |
 | withOption()          |  none             | Generic method to add any cURL option to the request              |

+ 1 - 1
composer.json

@@ -1,7 +1,7 @@
 {
     "name": "ixudra/curl",
     "description": "Custom PHP Curl library for the Laravel 5 framework - developed by Ixudra",
-    "version": "6.12.2",
+    "version": "6.13.0",
     "keywords": ["Ixudra", "Laravel", "Curl"],
     "homepage": "http://ixudra.be",
     "license": "MIT",