This repository was archived by the owner on Aug 9, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 9 files changed +12
-12
lines changed
Expand file tree Collapse file tree 9 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ Create a file called `composer.json` in your project directory and put the follo
4545```
4646{
4747 "require": {
48- "flamecore/webtools": "1.2 .*"
48+ "flamecore/webtools": "1.3 .*"
4949 }
5050}
5151```
Original file line number Diff line number Diff line change 1616 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1717 *
1818 * @package FlameCore\Webtools
19- * @version 1.2
19+ * @version 1.3
2020 * @link http://www.flamecore.org
2121 * @license ISC License <http://opensource.org/licenses/ISC>
2222 */
Original file line number Diff line number Diff line change 1616 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1717 *
1818 * @package FlameCore\Webtools
19- * @version 1.2
19+ * @version 1.3
2020 * @link http://www.flamecore.org
2121 * @license ISC License <http://opensource.org/licenses/ISC>
2222 */
@@ -53,7 +53,7 @@ class HttpClient
5353 *
5454 * @var string
5555 */
56- protected $ useragent = 'Mozilla/5.0 (compatible; FlameCore Webtools/1.2 ) ' ;
56+ protected $ useragent = 'Mozilla/5.0 (compatible; FlameCore Webtools/1.3 ) ' ;
5757
5858 /**
5959 * The timeout in seconds
Original file line number Diff line number Diff line change 1616 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1717 *
1818 * @package FlameCore\Webtools
19- * @version 1.2
19+ * @version 1.3
2020 * @link http://www.flamecore.org
2121 * @license ISC License <http://opensource.org/licenses/ISC>
2222 */
Original file line number Diff line number Diff line change 1616 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1717 *
1818 * @package FlameCore\Webtools
19- * @version 1.2
19+ * @version 1.3
2020 * @link http://www.flamecore.org
2121 * @license ISC License <http://opensource.org/licenses/ISC>
2222 */
Original file line number Diff line number Diff line change 1616 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1717 *
1818 * @package FlameCore\Webtools
19- * @version 1.2
19+ * @version 1.3
2020 * @link http://www.flamecore.org
2121 * @license ISC License <http://opensource.org/licenses/ISC>
2222 */
Original file line number Diff line number Diff line change 1616 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1717 *
1818 * @package FlameCore\Webtools
19- * @version 1.2
19+ * @version 1.3
2020 * @link http://www.flamecore.org
2121 * @license ISC License <http://opensource.org/licenses/ISC>
2222 */
@@ -103,7 +103,7 @@ public function testGet()
103103 $ info = $ this ->examineResult ($ result );
104104
105105 $ this ->assertEquals (['foo ' => 'bar ' ], (array ) $ info ->args );
106- $ this ->assertEquals ('Mozilla/5.0 (compatible; FlameCore Webtools/1.2 ) ' , $ info ->headers ->{'User-Agent ' });
106+ $ this ->assertEquals ('Mozilla/5.0 (compatible; FlameCore Webtools/1.3 ) ' , $ info ->headers ->{'User-Agent ' });
107107 }
108108
109109 public function testRequestWithData ()
@@ -163,7 +163,7 @@ public function testSetHeaders()
163163
164164 public function testSetUserAgent ()
165165 {
166- $ uastring = 'TestUA/1.0 (fake; FlameCore Webtools/1.2 ) ' ;
166+ $ uastring = 'TestUA/1.0 (fake; FlameCore Webtools/1.3 ) ' ;
167167 $ http = new HttpClient ($ uastring );
168168 $ http ->setUserAgent ($ uastring );
169169
Original file line number Diff line number Diff line change 1616 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1717 *
1818 * @package FlameCore\Webtools
19- * @version 1.2
19+ * @version 1.3
2020 * @link http://www.flamecore.org
2121 * @license ISC License <http://opensource.org/licenses/ISC>
2222 */
Original file line number Diff line number Diff line change 1616 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1717 *
1818 * @package FlameCore\Webtools
19- * @version 1.2
19+ * @version 1.3
2020 * @link http://www.flamecore.org
2121 * @license ISC License <http://opensource.org/licenses/ISC>
2222 */
You can’t perform that action at this time.
0 commit comments