Manish Goregaokar
f558f9aad0
Request termination for XHR
2014-06-19 22:37:33 +05:30
Manish Goregaokar
cfa20e9fba
JSON response support and some default headers
2014-06-06 16:10:54 +05:30
Jack Moffitt
629c4c6afe
Upgrade Rust.
2014-06-05 09:58:59 -06:00
Manish Goregaokar
ef126be28f
Add responseText and status code support to XHR
2014-06-04 17:13:02 +05:30
Matt Brubeck
dda0a0afb3
Don't overwrite the "Host" request header
...
Fixes broken requests caused by #2493 .
2014-05-28 16:15:06 -07:00
Manish Goregaokar
5f860bb612
Request header and postdata support for XHR
2014-05-28 20:49:13 +05:30
Ms2ger
eaedeb07cb
Update Rust.
2014-05-22 16:36:40 -06:00
Manish Goregaokar
533fab46f9
Async XHR GET with basic response header support
2014-05-20 21:01:12 +05:30
Ms2ger
098faef35b
Stop using ~[u8] in http_loader::load.
2014-05-12 17:17:25 +02:00
Glenn Watson
376d5f4a08
Allow resource load failures to send an error string which is reporting during task failure.
2014-05-08 07:43:45 +10:00
Ms2ger
6e617d8eba
Make ProgressMsg use Vec.
2014-04-28 23:06:26 +02:00
Lars Bergstrom
948daf2422
This batch of changes upgrades Servo to work with the Rust upgrade as of
...
April 10, 2014. The main changes are to privacy, to work around the
issues with incorrect bounds on the libstd `Arc<Mutex<T>>`, and the
various API changes strewn throughout the libraries.
2014-04-27 15:46:12 -05:00
Philip Horger
c63ae6f11d
Don't panic on https #2104
2014-04-18 11:32:46 -07:00
Ms2ger
31eee791dd
Upgrade rust.
2014-04-04 20:10:32 +02:00
Josh Matthews
64c0de9fe7
Warning police.
2014-03-18 09:31:22 -05:00
Lars Bergstrom
bbac8aa5c3
Rust upgrades
2014-03-18 09:30:35 -05:00
Clark Gaebel
015902f778
Added bound to number of HTTP redirects, and prevented redirect loops.
2014-01-28 21:38:00 -05:00
zmike
193b6d2635
add names for all servo spawned tasks
...
* add servo_util::task::{spawn_named,spawn_with_named} functions
* add name param for spawn_listener and spawn_conversation functions
this should resolve #1169
2014-01-13 13:12:48 -05:00
Jack Moffitt
a7ef1cd35e
Upgrade to latest Rust.
2014-01-12 19:45:45 -07:00
Keegan McAllister
5763937ecd
http_loader: Don't tail-call for redirects
...
Serving suggestion: git show -w
Fixes #1325 .
Some of the control-flow reorganization is for clarity rather than out of
necessity.
2013-12-03 21:25:11 -08:00
Keegan McAllister
e2b7885b73
fmt! -> format!
2013-10-31 14:58:55 -06:00
Keegan McAllister
f73e48b32f
Extract content type and character set from HTTP response headers
...
We don't use this information anywhere, yet.
2013-10-10 18:18:39 -07:00
Keegan McAllister
ec2111edbf
Use rust-http typed headers
2013-10-10 18:18:39 -07:00
Keegan McAllister
48af4e53a9
Refactor resource loader protocol to send metadata first
2013-10-10 18:18:39 -07:00
Keegan McAllister
cb67a50a95
Fix indentation in URL loaders
2013-10-10 18:18:39 -07:00
Keegan McAllister
1c6de361b7
Handle HTTP 3xx redirects
...
Fixes #973 .
2013-09-23 14:50:50 -07:00
Brian Anderson
afb2eedbcf
Resolve host names
2013-09-06 17:37:53 -07:00
Brian Anderson
8f2906b09e
Remove unreachable code from http_loader
2013-09-04 18:33:58 -07:00
Brian Anderson
e10d3889b7
Fix logic in http_loader
...
We don't need to repeatedly read the headers, and need to send the Done message.
2013-09-04 12:40:56 -07:00
Brian Anderson
232bdae8e6
Add rust-http to the build and begin using it to resolve http urls
2013-09-03 16:42:21 -07:00
Brian Anderson
56e5ba1b82
Update for language changes
2013-06-26 13:44:26 -07:00
Patrick Walton
c7bce98236
Remove the servo-
prefix from core components.
2013-05-28 15:40:47 -07:00