Stanislav Panferov
0a624b10e0
Add cookie-rs and use cookie::Cookie in Cookie header.
2014-11-10 12:31:33 -08:00
Stanislav Panferov
a85cc476e1
Basic Cookie and Set-Cookie (only parsing) headers implementation.
2014-11-10 12:31:33 -08:00
Sean McArthur
caab60e374
Merge pull request #94 from hyperium/authorization
...
Implemented a typed Authorization header
2014-11-08 20:55:08 -08:00
Hanno Braun
ab9c4f99b8
Make Connection usable
...
Connection's only field was private, making it impossible to construct a
Connection.
2014-11-08 22:51:28 +01:00
Sean McArthur
30534c27c9
dont convert Date to utc if already utc
...
Part of #98
2014-11-06 17:59:39 -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
Jonathan Reem
0652858dbf
Update all common headers for the new Header trait split
2014-10-31 15:10:34 -07:00
Sean McArthur
0ab52c9009
add bits to deal with Upgrade requests
2014-10-27 20:36:57 -07:00
Sean McArthur
19045a2376
change Host header to have hostname and port
2014-10-22 18:29:49 -07:00
Gilman Tolle
5615ab276e
Exposed the 'from_one_raw_str' function for use in defining new header structs.
2014-10-15 23:40:40 -07:00
Stanislav Panferov
2995923505
Fix review comments
2014-10-06 22:27:08 +04:00
Stanislav Panferov
f6ac243c85
Implement the basic parsing for Accept header.
2014-10-06 19:56:32 +04:00
Stanislav Panferov
10db5ee896
Add Location header
2014-10-05 20:05:27 +04:00
Sean McArthur
0191bff43a
property treat header names as case insensitive
2014-09-23 09:02:58 -07:00
Sean McArthur
1c472a220a
adds HttpWriters
2014-09-18 12:17:53 -07:00
Jonathan Reem
d11f1d5a4d
Parse Transfer Encodings that we don't handle
...
We should not throw away information here, as downstream users
may want to handle alternative encodings.
2014-09-09 14:38:38 -07:00
Jonathan Reem
f2c09c5743
Split common headers into a submodule and into their own files
...
This is a more extensible place to put them and doesn't clutter up
header/mod.rs as much as the old scheme did.
Fixes #8
2014-09-08 16:20:50 -07:00