Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Shift checking for IP address host for HSTS entry to constructor | Sam Gibson | 2015-07-22 | 1 | -10/+10 | |
| | | | | servo/servo#6105 | |||||
* | Add max-age to HSTS entries | Sam Gibson | 2015-07-22 | 1 | -18/+25 | |
| | | | | | | | | Refactors API for pushing new entries on, and adds a max age. This does not add a check for the max-age, or remove old entries from the list. Instead this just adds the data-field. servo/servo#6105 | |||||
* | Do not allow IP address in HSTS list | Sam Gibson | 2015-07-22 | 1 | -5/+11 | |
| | | | | | | | As per [rfc6797](https://tools.ietf.org/html/rfc6797#section-8.1.1), do not allow IPv4 or IPv6 addresses as host entries into the HSTS list. servo/servo#6105 | |||||
* | Implement mutable HSTS list | Sam Gibson | 2015-07-22 | 1 | -14/+70 | |
| | | | | | | This prepares the resource task to update the HSTS list when it sees STS headers. This will allow full HSTS support for servo/servo#6105 when the resource task implements the header checking | |||||
* | Preload an HSTS domain list from chromium | Sam Gibson | 2015-07-22 | 1 | -4/+84 | |
| | | | | | This resolves the first part of servo/servo#6105. The remaining part is to update the list based on the STS headers from the server. | |||||
* | Upgrade to rustc 1.3.0-dev (fddfd089b 2015-07-10) | Simon Sapin | 2015-07-15 | 1 | -1/+1 | |
| | ||||||
* | Use Box::into_raw rather than boxed::into_raw. | Ms2ger | 2015-06-25 | 1 | -2/+2 | |
| | | | | The latter is deprecated. | |||||
* | Auto merge of #6325 - Ms2ger:from_str, r=nox | bors-servo | 2015-06-14 | 1 | -3/+2 | |
|\ | | | | | | | | | | | | | | | The former appears to be preferred. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6325) <!-- Reviewable:end --> | |||||
| * | Use str::parse() rather than FromStr::from_str. | Ms2ger | 2015-06-13 | 1 | -3/+2 | |
| | | | | | | | | The former appears to be preferred. | |||||
* | | Preserve UserAgent header on redirect. | Eduard Burtescu | 2015-06-12 | 1 | -1/+3 | |
|/ | ||||||
* | Auto merge of #6171 - eleweek:fix-4184-ok, r=Manishearth | bors-servo | 2015-05-25 | 1 | -2/+17 | |
|\ | | | | | | | | | | | | | | | | | | | I tried fixing #4184 , here is the code I have right now. I haven't tested it, because I don't know what is the best way to test this part of code. Would like some help with testing this. Should I write an autotest or should I just test manually? <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6171) <!-- Reviewable:end --> | |||||
| * | Fix issues with PR #6171 | Alexander Putilin | 2015-05-26 | 1 | -9/+9 | |
| | | ||||||
| * | fixes 4184: no-sniff and check-for-apache-bug for mime sniffing | Alexander Putilin | 2015-05-24 | 1 | -2/+17 | |
| | | ||||||
* | | Reduce max line length from 150 to 120 characters | Corey Farwell | 2015-05-24 | 1 | -6/+12 | |
|/ | | | | Part of https://github.com/servo/servo/issues/6041 | |||||
* | Initial changes for devtools support for logging HTTP requests. | Himaja | 2015-05-05 | 1 | -4/+8 | |
| | | | | | | | | | | Add a NetworkEventActor to devtools/actors/ Authors: Ashritha Mohan Ram <amohanr@ncsu.edu> Himaja Valavala <hsvalava@ncsu.edu> Anand Chandrasekar <achandr9@ncsu.edu> Yiyang Wang <ywang95@ncsu.edu> | |||||
* | Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8. | Simon Sapin | 2015-05-05 | 1 | -6/+5 | |
| | ||||||
* | Replace usage of ResponseSenders by LoadConsumer | Marcus Klaas | 2015-04-19 | 1 | -12/+11 | |
| | ||||||
* | Warning fixes. | Josh Matthews | 2015-04-16 | 1 | -1/+0 | |
| | ||||||
* | Document async networking interfaces. | Josh Matthews | 2015-04-16 | 1 | -0/+1 | |
| | ||||||
* | Completely abstract sending responses over channels vs. listeners. | Josh Matthews | 2015-04-16 | 1 | -7/+32 | |
| | ||||||
* | Start switching net/ to use abstractions over channels to allow introducing ↵ | Josh Matthews | 2015-04-16 | 1 | -22/+28 | |
| | | | | non-channel communication in the future. | |||||
* | Reduce duplication | Bogdan Cuza | 2015-04-14 | 1 | -27/+8 | |
| | ||||||
* | Make Metadata use ContentType | Bogdan Cuza | 2015-04-14 | 1 | -4/+30 | |
| | ||||||
* | Move net::resource_task unit tests into the unit_tests crate. | Simon Sapin | 2015-04-08 | 1 | -173/+0 | |
| | ||||||
* | Enable optional mime sniffing, and integrate it with the file loader. | Josh Matthews | 2015-04-06 | 1 | -5/+34 | |
| | ||||||
* | Remove the sniffer task. | Josh Matthews | 2015-04-06 | 1 | -38/+14 | |
| | ||||||
* | Split out shared networking code into net_traits crate | Gilles Leblanc | 2015-04-03 | 1 | -169/+7 | |
| | | | | Fixes #4476 | |||||
* | Stop using old_io in net tests. | Ms2ger | 2015-03-26 | 1 | -10/+4 | |
| | ||||||
* | Stop using old_path in net. | Ms2ger | 2015-03-26 | 1 | -1/+1 | |
| | ||||||
* | Update some code that's feature-gated under core. | Ms2ger | 2015-03-21 | 1 | -7/+5 | |
| | ||||||
* | Replace most usage of std::old_io::File. | Ms2ger | 2015-03-20 | 1 | -4/+6 | |
| | ||||||
* | Cleanup resource_task's global_init(). | Ms2ger | 2015-03-20 | 1 | -12/+23 | |
| | ||||||
* | Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev. | Ms2ger | 2015-03-18 | 1 | -3/+3 | |
| | ||||||
* | Implement view-source protocol. Fixes #4181. | Chris Double | 2015-03-17 | 1 | -1/+1 | |
| | | | | | | | | | | | This follows the recommendation from issue #4181. A handler for 'view-source' delegates to the HTTP loader. In that loader I check for view-source, adjust the URL to be the URL to be viewed and modify the Content-Type header to be text/plain. This doesn't actually result in the source being viewed as rendering text/plain is not yet implemented. | |||||
* | Add more robust hostsfile parsing | Gilles Leblanc | 2015-03-05 | 1 | -14/+135 | |
| | | | | | | | | | | | | Adds hostsfile parsing support for: * Tabs * Comments (line and end of line) * IPv4 address validation * Basic IPv6 address validation * End of line whitespaces * Host name alias (multiple host names per address) Fixes #5063 | |||||
* | Fix warnings in net. | Ms2ger | 2015-02-13 | 1 | -6/+6 | |
| | ||||||
* | Upgrade to rustc ba2f13ef0 2015-02-04 | Simon Sapin | 2015-02-11 | 1 | -8/+8 | |
| | ||||||
* | bug #3219: specify hostfile by HOST_FILE env var | Shing Lyu | 2015-02-06 | 1 | -2/+97 | |
| | ||||||
* | Make XMLHttpRequest user-set headers be preserved across redirects. | Josh Matthews | 2015-02-04 | 1 | -0/+4 | |
| | ||||||
* | Rename some variables for clarity. | Josh Matthews | 2015-02-04 | 1 | -4/+4 | |
| | ||||||
* | Unify the get/set scookie APIs to make them both deal with raw strings. | Josh Matthews | 2015-02-04 | 1 | -6/+8 | |
| | ||||||
* | Differentiate between HTTP and non-HTTP APIs for cookie operations. Fix some ↵ | Josh Matthews | 2015-02-04 | 1 | -16/+13 | |
| | | | | incorrect cookie removal operation logic. Order the returned cookies according to the spec. Make cookie unit tests pass. | |||||
* | Improve redirect behaviour to clear headers and reevaluate sent cookies. ↵ | Josh Matthews | 2015-02-04 | 1 | -29/+39 | |
| | | | | Implement storage-related cookie behaviour such as domain and path matching that cookie-rs doesn't require. Remove stored cookies when an empty value is stored. Document cookie code. | |||||
* | cookies and cookies storage implementation | Shamir Khodzha | 2015-02-04 | 1 | -14/+41 | |
| | ||||||
* | add `unwrap` to `send/recv` calls | Alexandru Cojocaru | 2015-02-03 | 1 | -3/+3 | |
| | ||||||
* | Import the util crate as util rather than servo_util. | Ms2ger | 2015-01-29 | 1 | -1/+1 | |
| | | | | | | | | This used to conflict with the util crate from the standard library, which has long since been removed. The import in layout has not been changed because of a conflict with the util mod there. | |||||
* | Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. | Josh Matthews | 2015-01-28 | 1 | -23/+23 | |
| | ||||||
* | Pass a String to spawn_named. | Ms2ger | 2015-01-21 | 1 | -1/+1 | |
| | | | | | IntoString has been removed from Rust, and named() will take a String, so there is no good reason to do otherwise here. | |||||
* | Move to to_owned rather than into_string. | Ms2ger | 2015-01-20 | 1 | -1/+2 | |
| | | | | into_string has been removed from Rust. | |||||
* | Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19. | Ms2ger | 2015-01-08 | 1 | -2/+2 | |
| |