aboutsummaryrefslogtreecommitdiff
path: root/core/io/http_client.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Allow body-up-to-EOF HTTP responsesPedro J. Estébanez2018-05-221-0/+1
| | | | | | Implements the same heuristic as Curl (and web browsers): if no `Content-Length`, no `Connection: keep-alive` and no chunked transfer encoding, assume th rest of the data until EOF is the body, gracefully setting the HTTP client back to the disconnected state. Theoretically, this is not compliant with HTTP 1.1, by which `keep-alive` is the default, but in practice, an explicit header is sent by servers.
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* HTTP cleanup & better defaultsmhilbrunner2017-12-141-9/+18
|
* HTTPClient: Add PATCH method and missing HTTP status codesmhilbrunner2017-12-121-0/+15
|
* Implement HTTPClient in HTML5 platformLeon Krause2017-11-131-3/+9
| | | | | | | | | | | 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-2/+0
| | | | | These were never implemented, the request* methods provide parameters to send body data as part of the client's requests.
* 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-0/+1
|
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-15/+11
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Remove set_ip_type from network classes (no longer needed)Fabio Alessandrelli2017-01-231-2/+0
| | | | | | | | | | | | | - 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)
* removed duplicated functions in class hierarchy that were bound more than onceJuan Linietsky2017-01-141-1/+1
| | | | added a check to detect this case in the future
* Type renames:Juan Linietsky2017-01-111-3/+3
| | | | | | | | | | | | 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-1/+1
| | | | renamed to PoolVector
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-1/+1
| | | | | | | | 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-1/+3
|\ | | | | Fixes and improvementes for IPv6 implementation.
| * Expose HTTP classes' set_ip_type to scriptingFabio Alessandrelli2016-12-131-2/+3
| |
| * Allow setting ip_type for TCP/UDP and HTTP classesFabio Alessandrelli2016-12-091-0/+1
| |
| * Migrate int.IP_TYPE_ constants to IP.TYPE_Fabio Alessandrelli2016-12-091-1/+1
| |
* | 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-1/+1
|
* Improved binding system (ObjectTypeDB::bind_method) to be friendlier to ↵Juan Linietsky2016-06-221-0/+1
| | | | | | statically typed languages, should help in the Mono integration. Disabled by default.
* Fix typo in http_client.hJ08nY2016-06-031-1/+1
|
* httpclient request withh raw_array bodyAlexander Holland2016-05-041-0/+1
|
* Added getter method for the connection property in HTTPClient. (#4336)Mounir Ybanez2016-04-181-0/+1
| | | | - Exposed a getter method for the private property named `connection` in HTTPClient class.
* -Work on addon editor plugin (disabled by default)Juan Linietsky2016-03-041-2/+2
| | | | -New HTTPRequest node, to make HTTP requests simpler.
* 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-0/+2
| | | | | | | | 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.
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* fixes to HTTPClientJuan Linietsky2015-02-111-1/+5
| | | | | -small unchunked files should work properly -blocking mode should work properly
* -OpenSSL FixesJuan Linietsky2014-05-011-1/+2
|
* -Added OpenSSL and HTTPS supportJuan Linietsky2014-04-281-1/+9
| | | | | -Built-in version of the library for Windows, Android and iOS (other OSs use system one) -Small fixes all around
* GODOT IS OPEN SOURCEJuan Linietsky2014-02-091-0/+188