Jonathan Reem
f0fe878ec8
More Rust updates:
...
- Some stray deriving -> derive changes
- use::{mod} -> use::{self}
- fmt.write -> fmt.write_str
This does not catch the last case of fmt.write_str in the
Show impl of a Header Item. This will need to be changed
separately.
2015-01-05 22:50:10 +01:00
Jonathan Reem
7f3a33f903
#[deriving] -> #[derive]
2015-01-03 20:31:48 +01:00
Michael Kovalchik
5dd4529165
Use renamed unsafe_get and concat_vec methods.
...
Changed calls to unsafe_get to use get_unchecked and calls to concat_vec
to use concat to avoid deprecation lints.
2015-01-02 13:18:48 -08:00
Sean McArthur
79fc40cbce
into_string to to_string, from_str to parse
2014-12-23 13:09:58 -08:00
Sean McArthur
691c70a380
update str::from_utf8
2014-12-23 12:55:53 -08:00
Jonathan Reem
90925f05ee
(fix) Add semicolons at macro invocation sites.
2014-12-20 02:38:03 -08:00
Sean McArthur
0bba6e80ee
rust upgrade
2014-12-12 12:24:54 -08:00
Sean McArthur
8071cfa8bf
feat(headers): header ergonomics
...
- Reexports all common::* as header::*
- Most headers implement Deref where it makes sense.
Closes #156
2014-11-29 13:55:50 -08:00
Sean McArthur
14d3209a72
make Headers implement Clone
2014-11-17 11:19:07 -08:00
Jakob Gillich
125e1f7d63
std::from_str has been moved to std::str
2014-11-17 20:09:53 +01:00
Jonathan Reem
d4312c8fe8
Add benchmarks for all implemented headers except set-cookie.
2014-11-10 16:32:30 -08:00
Gilman Tolle
91a8e03e7a
Implemented a typed Authorization header
...
An Authorization header contains a Scheme. If you have no real scheme,
you can use String as your scheme (Authorization<String>).
This includes the `Basic` scheme built-in.
2014-10-31 18:51:23 -07:00