Patrick Walton
f5f5e1cb2d
fix(headers): fix broken deserialization of headers
...
Sorry about that!
2015-07-23 20:58:35 -07:00
Sean McArthur
aaf7995b43
v0.6.5
2015-07-23 13:43:42 -07:00
Sean McArthur
aa09034d2c
Merge pull request #616 from hyperium/ssl-direct-streams
...
refactor(ssl): use openssl::DirectStreams
2015-07-23 13:30:52 -07:00
Sean McArthur
71db6a46c0
refactor(ssl): use openssl::DirectStreams
2015-07-23 13:13:43 -07:00
Sean McArthur
da817ba8bf
test(header): change test_headers_show to use str.contains
2015-07-23 12:09:55 -07:00
Sean McArthur
a0739e6c96
test(headers): fix test_headers_show()
2015-07-23 11:53:46 -07:00
Sean McArthur
74021a24fe
test(headers): remove usage of iter.join()
2015-07-23 11:38:26 -07:00
Sean McArthur
d2e8b5dc3d
fix(tests): iter.connect() is now iter.join()
2015-07-22 19:01:33 -07:00
Sean McArthur
3bd0635d28
Merge pull request #611 from batisteo/patch-1
...
docs(headers): move blank line in right place.
2015-07-22 17:58:45 -07:00
Sean McArthur
35071fb1e5
Merge pull request #615 from havarnov/impl-hash-for-statuscode
...
feat(status): implement `Hash` for `StatusCode`
2015-07-22 09:07:42 -07:00
Håvar Nøvik
d84f291abc
feat(status): implement Hash for StatusCode
...
Change hash implementation to just use `derive(Hash)`
2015-07-22 10:50:26 +02:00
Håvar Nøvik
aa85f609b5
feat(status): implement Hash for StatusCode
...
Implment the `Hash` trait for the `StatusCode` enum.
2015-07-21 21:10:47 +02:00
Baptiste Darthenay
65ba136f02
Doc: moved blank line in right place.
...
http://ironframework.io/doc/iron/headers/struct.ContentType.html#examples
2015-07-15 10:39:18 +02:00
Jonathan Reem
7b108466f6
v0.6.4
2015-07-10 20:43:51 -07:00
Jonathan Reem
7b0f22e2c5
Merge pull request #603 from pcwalton/serde
...
Add optional serialization of common types via `serde`.
2015-07-10 18:56:08 -07:00
Patrick Walton
87de1b77bc
feat(http): add optional serialization of common types via serde
...
This is behind a Cargo feature to avoid forcing downstream users to
depend on `serde`. It is needed for Servo IPC to work.
2015-07-10 17:45:08 -07:00
Sean McArthur
623824d8b2
v0.6.3
2015-07-08 10:33:37 -07:00
Sean McArthur
9bf60b65a0
docs(http): document consts CR, LR, and LINE_ENDING
2015-07-08 10:31:31 -07:00
Sean McArthur
5994a6f8b4
fix(lint): change deny(missing_docs) to only apply for tests
...
Closes #600
2015-07-08 10:23:37 -07:00
Sean McArthur
18a29aca3d
Merge pull request #599 from hyperium/zero-buf
...
perf(buffer): zero out buffers using memset instead of iter().take()
2015-07-07 22:55:38 -07:00
Sean McArthur
0e7db69d6d
perf(buffer): zero out buffers using memset instead of iter().take()
2015-07-07 18:09:05 -07:00
Sean McArthur
46e0aa00c4
Merge pull request #598 from leodasvacas/patch-1
...
docs(CONTRIBUTING): link to open easy issues
2015-07-07 11:35:08 -07:00
Leonardo Yvens
ce4b4e0b4f
docs(CONTRIBUTING): link to open easy issues
2015-07-07 15:33:50 -03:00
Sean McArthur
3964a6bd3e
v0.6.2
2015-07-06 15:23:03 -07:00
Sean McArthur
ed54426461
Merge pull request #597 from hyperium/http10-keep-alive
...
fix(http): no longer keep alive for Http1.0 if no Connection header
2015-07-06 15:14:04 -07:00
Sean McArthur
ddecb262b3
fix(http): no longer keep alive for Http1.0 if no Connection header
...
Closes #596
2015-07-06 12:55:25 -07:00
Sam Gibson
7c2e5124e6
feat(headers): add strict-transport-security header
...
Strict-Transport-Security allows servers to inform user-agents that
they'd like them to always contact the secure host (https) instead of
the insecure one (http).
Closes #589
2015-07-06 12:35:45 -07:00
Sean McArthur
9a85ea553f
Merge pull request #595 from pyfisch/originstring
...
refactor(headers): use String in Access-Control-Allow-Origin header
2015-07-06 11:00:49 -07:00
Pyfisch
ed458628e5
refactor(headers): use String in Access-Control-Allow-Origin header
...
Access-Control-Allow-Origin origins are URLs but they do not need to
be valid, they should just be compared as strings. So to support
invalid URLs hyper should use a string instead.
closes #526
BREAKING CHANGE: Access-Control-Allow-Origin does no longer use Url
2015-07-04 17:26:06 +02:00
Sean McArthur
3a5c56cc5e
Merge pull request #593 from hyperium/client-response-url
...
feat(client): add url property Response
2015-07-01 11:11:32 -07:00
Sean McArthur
82ed9092e3
feat(client): add url property Response
...
This will always be the last URL that was used by the Request, which is
useful for determining what the final URL was after redirection.
BREAKING CHANGE: Technically a break, since `Response::new()` takes an
additional argument. In practice, the only place that should have been
creating Responses directly is inside the Client, so it shouldn't
break anyone. If you were creating Responses manually, you'll need to
pass a Url argument.
2015-07-01 10:45:07 -07:00
Sean McArthur
5978f7c630
docs(readme): add appveyor badge to readme
...
Closes #513
2015-06-30 15:08:34 -07:00
Sean McArthur
2187b5561f
test(windows): add appveyor ci
2015-06-30 15:04:18 -07:00
Sean McArthur
b57bba3517
Merge pull request #587 from pyfisch/nice-code
...
style(rustfmt): run rustfmt on hyper correct overlong lines
2015-06-29 14:21:02 -07:00
Pyfisch
db93ca0697
style(rustfmt): run rustfmt on hyper correct overlong lines
2015-06-29 20:22:22 +02:00
Sean McArthur
990819a6d6
v0.6.1
2015-06-26 21:28:40 -07:00
Sean McArthur
31e5a91350
Merge pull request #582 from mlalic/issue-580
...
refactor(http2): move to solicit v0.4
2015-06-26 21:18:22 -07:00
Sean McArthur
cc4d1f3bb3
Merge pull request #584 from infinityb/sni-fix
...
fix(client): use Ssl instance in creation of SslStream
2015-06-26 21:16:43 -07:00
Sean McArthur
3abe323ef7
Merge pull request #583 from Byron/osx-compilation
...
fix(cargo): fix linking on OSX 10.10
2015-06-26 21:16:09 -07:00
Sean McArthur
d3d9d8c812
Merge pull request #581 from Byron/fix-benches
...
fix(benches): adjust to missing `set_ssl_verifier`
2015-06-26 21:14:22 -07:00
Stacey Ell
1a490e25c3
fix(client): use Ssl instance in creation of SslStream
...
This fix brings SNI into working order
2015-06-26 09:27:27 -06:00
Sebastian Thiel
9af2b66fe4
fix(cargo): fix linking on OSX 10.10
...
On OSX 10.10, attempting to run `cargo test` will yield a
[linker error](https://gist.github.com/Byron/b7a50cdcf7c60234335d ).
Just removing the feature fixes the issue, even though I am not
sure if it is breaking something further down the line.
2015-06-26 15:39:17 +02:00
Marko Lalic
37e55944cf
test(hyper): assert that error::Error is Send + Sync
...
This is a regression test for #580 .
2015-06-26 14:53:58 +02:00
Marko Lalic
526ce994a3
refactor(http2): move to solicit v0.4
...
Only minor details in the internals of the `h2` module needed tweaking
for migrating onto the latest version -- `HttpConnect` implementations
are now required to return an error type that implements an
`HttpConnectError` trait.
2015-06-26 14:53:58 +02:00
Sebastian Thiel
eb38a11b9a
fix(benches): adjust to missing set_ssl_verifier
...
In 53bba6e , ssl usage was improved. The existing benchmark
implementation wasn't adjusted though.
This commit fixes the client benchmark to work with the latest nightly
rust and instructs travis to try compile the benchmarks
when rustc nightly is used. This should prevent such kind of breakage
in future.
2015-06-26 14:06:47 +02:00
Sean McArthur
5bf91f09ee
v0.6.0
2015-06-25 10:21:44 -07:00
Sean McArthur
1b6c692fe3
Merge pull request #578 from lame-nickname/master
...
refactor(headers): improve `Range` header adherence to HTTP spec
2015-06-23 17:05:23 -07:00
Sean McArthur
03bbd23a84
Merge pull request #579 from pyfisch/language-tags
...
feat(langtags): use true language tags in headers
2015-06-23 17:04:42 -07:00
lame-nickname
f7504c3a9c
refactor(headers): improve Range header adherence to HTTP spec
2015-06-23 20:59:34 +02:00
Pyfisch
99ff7e6257
feat(langtags): use true language tags in headers
...
Make hyper dependant on rust-language-tags providing complete parsing
and formatting of language tags. Remove builtin solution for simple
tags.
BREAKING CHANGE: AcceptLanguage and ContentLanguage use LanguageTag now,
Language removed from Hyper.
2015-06-23 20:15:47 +02:00