Sergio Benitez
3bebdcc53d
Add Response::body_string(). Use it in all tests.
2017-04-14 01:59:28 -07:00
Sergio Benitez
f5ec470a7d
Use the RawStr
type for raw parameter strings.
...
This is a breaking change.
The `&str` type no longer implements `FromParam`. The `&RawStr` type
should be used in its place.
2017-03-31 00:18:58 -07:00
Seth Lopez
ab94e344b4
Add tests for optional_result example.
2016-12-28 21:05:15 -06:00
Sergio Benitez
4b6c72e33f
Use move builder pattern to launch Rocket apps.
2016-10-03 19:48:33 -07:00
Sergio Benitez
7b1dc5a1a4
Remove Rocket::new(). Use 'ignite' everywhere.
2016-10-03 19:37:49 -07:00
Sergio Benitez
46f73ed57c
Renamed macros to codegen.
2016-09-08 20:38:58 -07:00
Sergio Benitez
4d301eebbd
Complete overhaul complete.
2016-09-04 04:06:28 -07:00
Sergio Benitez
6ba67ae79a
Accidentally broke optional_result example. Now fixed.
2016-03-30 14:04:00 -07:00
Sergio Benitez
d477c18062
Major progress towards form support.
2016-03-30 01:02:21 -07:00
Sergio Benitez
fb8fdc3bc2
Cleaned up response -> split into files. Started form example.
...
There's something going on with Hyper. When a 303 (see other) response is sent
in response to a POST, the browser does a GET to the location header. Hyper
somehow misreads the method parameter here, resulting in a route failer.
I need to MITM the connection to see exactly what the browser is sending and
what Hyper is receiving to see who's wrong.
2016-03-28 02:34:09 -07:00