aboutsummaryrefslogtreecommitdiff
path: root/core/io/http_client.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Implement HTTPClient in HTML5 platformLeon Krause2017-11-131-66/+69
| | | | | | | | | | | Limitations: - Subject to same-origin policy - No persistent connection (but simulated for compatibility) - No blocking mode - No StreamPeer access - No chunked responses - Cannot disable host verification
* Remove HTTPClient::send_body_text and ::send_body_dataLeon Krause2017-10-261-12/+0
| | | | | These were never implemented, the request* methods provide parameters to send body data as part of the client's requests.
* Fixed a bug where ssl would force validation even though you told it not to.Nathan Warden2017-10-031-1/+1
|
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry2017-08-201-68/+68
|
* Removes type information from method bindsIgnacio Etcheverry2017-08-101-5/+5
|
* Don't append standard ports to the request header.Martin Capitanio2017-06-131-2/+12
| | | | | | | Breaks the SSL communication with some servers, do the same that the other curl, wget, firefox & co clients do. Fixes #9146
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-324/+295
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* Various fixes detected using PVS-Studio static analyzer.Thaer Razeq2017-02-281-1/+1
| | | | | | | - Add FIXME tags comments to some unfixed potential bugs - Remove some checks (always false: unsigned never < 0) - Fix some if statements based on reviews. - Bunch of missing `else` statements
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-131-21/+21
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* Merge pull request #7581 from Faless/v6_wild_bindRémi Verschelde2017-02-121-8/+1
|\ | | | | TCP/UDP listen bind to address and bugfixes
| * Remove set_ip_type from network classes (no longer needed)Fabio Alessandrelli2017-01-231-8/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | - TCP: - `listen` bind to wildcard "*" -> dual stack socket - `listen` bind to address -> socket from address type - `connect` -> resolve using best protocol (UNSPEC), socket from address type - UDP: - `listen` bind to wildcard "*" -> dual stack socket - `listen` bind to address -> socket from address type - `put_packet`/`put_var` -> resolve using TYPE_ANY (UNSPEC), socket from address type (to change socket type you must first call `close` it)
* | HTTPClient properly handle partial data in non-blocking modeFabio Alessandrelli2017-02-071-2/+4
|/ | | | | Use block to send DVector::Write out of scope in HTTPClient::read_response_body_chunk()
* removed duplicated functions in class hierarchy that were bound more than onceJuan Linietsky2017-01-141-6/+6
| | | | added a check to detect this case in the future
* Type renames:Juan Linietsky2017-01-111-15/+15
| | | | | | | | | | | | Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
* Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-071-3/+3
| | | | renamed to PoolVector
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-22/+22
| | | | | | | | Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
* Merge pull request #7271 from Faless/ipv6_cleanupRémi Verschelde2017-01-021-4/+9
|\ | | | | Fixes and improvementes for IPv6 implementation.
| * Expose HTTP classes' set_ip_type to scriptingFabio Alessandrelli2016-12-131-4/+7
| |
| * Allow setting ip_type for TCP/UDP and HTTP classesFabio Alessandrelli2016-12-091-0/+4
| |
| * Migrate int.IP_TYPE_ constants to IP.TYPE_Fabio Alessandrelli2016-12-091-4/+2
| |
* | Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
|/ | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
* address type for http clientAriel Manzur2016-10-191-3/+4
|
* Improved binding system (ObjectTypeDB::bind_method) to be friendlier to ↵Juan Linietsky2016-06-221-2/+0
| | | | | | statically typed languages, should help in the Mono integration. Disabled by default.
* added missing status, closes #4361Juan Linietsky2016-06-201-0/+1
|
* Removed invalid DEFVAL for HTTPClient::request_rawIgnacio Etcheverry2016-06-011-1/+1
|
* remove trailing whitespaceHubert Jarosz2016-05-211-1/+1
|
* httpclient request withh raw_array bodyAlexander Holland2016-05-041-2/+56
|
* fix - HTTPClient connection keep-alive duplicate Headers #4208Alexander Holland2016-04-271-0/+1
|
* Added getter method for the connection property in HTTPClient. (#4336)Mounir Ybanez2016-04-181-0/+7
| | | | - Exposed a getter method for the private property named `connection` in HTTPClient class.
* remove trailing whitespaceHubert Jarosz2016-03-091-1/+1
|
* -Work on addon editor plugin (disabled by default)Juan Linietsky2016-03-041-4/+0
| | | | -New HTTPRequest node, to make HTTP requests simpler.
* adds original http headers to response_headersAriel Manzur2016-02-191-4/+4
|
* adds original http header to response_headersAriel Manzur2016-02-191-1/+1
|
* made headers case insensitiveAriel Manzur2016-01-111-2/+3
|
* comment some print_linesAlexander Holland2016-01-091-3/+3
|
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* Fixes the make_doc.sh, <, > and & signs in descriptions that cause the ↵Aren Villanueva2015-11-191-2/+13
| | | | | | | | parser to break. Documentation for HTTPClient. Added a query_string_from_dict method to HTTPClient to create a x-www-form-urlencoded valid query string for GET and POST messages. String now has http_escape() and http_unescape() methods to help facilitate the above query_string_from_dict method.
* Several performance improvements, mainly in loading and instancing scenes ↵Juan Linietsky2015-06-291-1/+1
| | | | | | | | and resources. A general speedup should be apparent, with even more peformance increase when compiling optimized. WARNING: Tested and it seems to work, but if something breaks, please report.
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* fixes to HTTPClientJuan Linietsky2015-02-111-9/+34
| | | | | -small unchunked files should work properly -blocking mode should work properly
* Small batch of fixesJuan Linietsky2014-12-151-0/+2
| | | | | | | -=-=-=-=-=-=-=-=-=-= -Fixed looping error in AudioStreamResampled -winrt port progress -fixes in material in ambient light
* Fixed copy process of stream of bytes for HttpClient.Drachenfels2014-08-211-12/+16
| | | | | | | | ===================================================== Previously if request was not chunked and longer than arbitrary chunk of 4096 bytes, rest was truncated. With this commit, we will copy everything we have in the memmory.
* -OpenSSL FixesJuan Linietsky2014-05-011-3/+4
|
* -Added OpenSSL and HTTPS supportJuan Linietsky2014-04-281-4/+36
| | | | | -Built-in version of the library for Windows, Android and iOS (other OSs use system one) -Small fixes all around
* -HttpClient: ’Content-Length’ is added to httprequest if not provided in ↵Juan Linietsky2014-04-051-0/+8
| | | | | | | | | the headers and a body exists -expressions in GDScript can take multiple lines if inside parenthesis (python-like) -Added \ to force linebreaks to GDscript (python-like) -added exclude objects from raycast -fixed crashes
* -fixed export templates not loading/exporting on WindowsJuan Linietsky2014-02-131-1/+1
| | | | | | | | | | | | -fixed TouchScreenButton with stretch2d -fixed(?) OSX crash on startup (test!!) -compilation fixes on windows -CollisionPolygon editor works again -find buttons en find dialog -TileMap editor cleanup (removed "error", made nicer) -viewport flicker fixed -make .scn default extension for saving scenes -export the rest of the network classes to gdscript
* GODOT IS OPEN SOURCEJuan Linietsky2014-02-091-0/+641