servo/components/net
Corey Farwell 60afad1b61 Migrate user agent string to Cow<'static, str>.
In most scenarios, where the user of Servo will not override the default
user agent, the user agent can be a `&'static str`. But since we allow
for customization, we currently use a `String` to represent the user
agent. This commit migrates the user agent to be represented as a
`Cow<'static, str>`, which (at the cost of ergonomics) prevents
unnecessary allocations whenever cloning the user agent string in the
scenario the user doesn't override the user agent.
2016-10-10 16:34:20 -04:00
..
fetch Migrate user agent string to Cow<'static, str>. 2016-10-10 16:34:20 -04:00
about_loader.rs Reorder use statements 2016-09-09 04:55:19 +02:00
blob_loader.rs Reorder use statements 2016-09-09 04:55:19 +02:00
bluetooth_thread.rs Annotations for requestDevice, request_bluetooth_devices and matches_filter functions 2016-09-14 08:41:03 +02:00
Cargo.toml Update to Rust 1.14.0-nightly (19ac57926 2016-10-08) 2016-10-09 18:53:47 +02:00
chrome_loader.rs Use Result instead of panicking when the resource dir can't be found 2016-07-21 12:07:25 +05:30
connector.rs Use Result instead of panicking when the resource dir can't be found 2016-07-21 12:07:25 +05:30
content_blocker.rs Read the content blocking rules and make them available to the HTTP loader. 2016-05-30 10:54:52 +02:00
cookie.rs Moved pub_domains to net_traits and did a spring clean. 2016-09-29 17:28:47 -05:00
cookie_storage.rs Use common cookie struct add cookie webdriver cmds 2016-06-25 22:24:35 +00:00
data_loader.rs Reorder use statements 2016-09-09 04:55:19 +02:00
file_loader.rs Don't require PathBuf ownership if we don't need it. 2016-09-16 23:11:04 -04:00
filemanager_thread.rs Reorder use statements 2016-09-09 04:55:19 +02:00
hsts.rs Report use statements that use {} with only one entry 2016-05-27 10:18:44 +01:00
http_loader.rs Migrate user agent string to Cow<'static, str>. 2016-10-10 16:34:20 -04:00
image_cache_thread.rs Reorder use statements 2016-09-09 04:55:19 +02:00
lib.rs Moved pub_domains to net_traits and did a spring clean. 2016-09-29 17:28:47 -05:00
mime_classifier.rs Auto merge of #13411 - frewsxcv:mime, r=jdm 2016-10-08 15:40:47 -05:00
resource_thread.rs Migrate user agent string to Cow<'static, str>. 2016-10-10 16:34:20 -04:00
storage_thread.rs Remove use of util::opts from storage_thread 2016-07-27 10:25:48 +02:00
websocket_loader.rs Reorder use statements 2016-09-09 04:55:19 +02:00