use fastly::{Error, Request, Response, Dictionary};
#[fastly::main]
fn main(mut req: Request) -> Result<Response, Error> {
let dict = Dictionary::open("test");
if let Some(val) = dict.get("key_one") {
println!("Dictionary value: {}", val);
}
let beresp = req.send("origin_0")?;
Ok(beresp)
}