<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sputnik, branch v0.3.4</title>
<subtitle>A lightweight layer on top of hyper to facilitate building web applications.</subtitle>
<id>http://git.push-f.com/sputnik/atom/?h=v0.3.4</id>
<link rel='self' href='http://git.push-f.com/sputnik/atom/?h=v0.3.4'/>
<link rel='alternate' type='text/html' href='http://git.push-f.com/sputnik/'/>
<updated>2021-01-26T16:01:30Z</updated>
<entry>
<title>add request::Flash (inspired by Rocket)</title>
<updated>2021-01-26T16:01:30Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2021-01-26T15:56:59Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/sputnik/commit/?id=6c44846f6bf5901eaa12b943646632bd2163c898'/>
<id>urn:sha1:6c44846f6bf5901eaa12b943646632bd2163c898</id>
<content type='text'>
bump version to 0.3.4
</content>
</entry>
<entry>
<title>move SputnikParts::csrf_token to CsrfToken::from_request</title>
<updated>2021-01-26T15:20:14Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2021-01-26T15:17:01Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/sputnik/commit/?id=cfb33b7f441e68161032b6505502b6490c4c0a3d'/>
<id>urn:sha1:cfb33b7f441e68161032b6505502b6490c4c0a3d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>response: improve cookie &amp; content-type methods</title>
<updated>2021-01-26T14:48:17Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2021-01-26T14:37:01Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/sputnik/commit/?id=4502efc51474cdb7ffd0d77402f62aed8badf7bf'/>
<id>urn:sha1:4502efc51474cdb7ffd0d77402f62aed8badf7bf</id>
<content type='text'>
* add SputnikBuilder::set_cookie
* make delete_cookie an independent method
* add SputnikHeaders::content_type
</content>
</entry>
<entry>
<title>introduce SputnikParts::response_headers</title>
<updated>2021-01-26T14:48:17Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2021-01-26T13:37:04Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/sputnik/commit/?id=fc15b41a37e123434ec39a277f107b78c1507bd8'/>
<id>urn:sha1:fc15b41a37e123434ec39a277f107b78c1507bd8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>make csrf_token safe to be called multiple times</title>
<updated>2021-01-26T12:09:48Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2021-01-26T12:09:37Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/sputnik/commit/?id=8e9a4400ea9bcb80c90232fecc2ad2ae5f6c3303'/>
<id>urn:sha1:8e9a4400ea9bcb80c90232fecc2ad2ae5f6c3303</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix wrong insertion/appending of headers</title>
<updated>2021-01-26T10:01:52Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2021-01-26T09:56:58Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/sputnik/commit/?id=18b1b875c80a244f6ea29894672db18b90ec4eea'/>
<id>urn:sha1:18b1b875c80a244f6ea29894672db18b90ec4eea</id>
<content type='text'>
</content>
</entry>
<entry>
<title>reintroduce CsrfToken type</title>
<updated>2021-01-25T21:50:40Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2021-01-25T21:38:06Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/sputnik/commit/?id=3fd065757f02ebf1d055912e6809fac15c8bf058'/>
<id>urn:sha1:3fd065757f02ebf1d055912e6809fac15c8bf058</id>
<content type='text'>
Raw HTML is potentially dangerous so it's better to provide an
encapsulating type instead of relying on naked strings.

bump version to 0.3.3
</content>
</entry>
<entry>
<title>introduce optional SputnikBody::into_json()</title>
<updated>2021-01-25T15:59:00Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2021-01-25T15:56:08Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/sputnik/commit/?id=e04c832200f38ab49ce8e7a6d08ffc549b8a98e2'/>
<id>urn:sha1:e04c832200f38ab49ce8e7a6d08ffc549b8a98e2</id>
<content type='text'>
bump version to 0.3.2
</content>
</entry>
<entry>
<title>simplify CSRF API</title>
<updated>2021-01-25T14:06:48Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2021-01-25T13:47:47Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/sputnik/commit/?id=9fa7442e41bc11ab3d62f43f5f6e90b59e160da2'/>
<id>urn:sha1:9fa7442e41bc11ab3d62f43f5f6e90b59e160da2</id>
<content type='text'>
This commit gets rid of the CsrfToken type,
simplifying submission handling:

  // before
  let csrf_token = req.csrf_token(&amp;mut response);
  let msg: FormData = body.into_form_csrf(&amp;csrf_token).await?;

  // after
  let msg: FormData = body.into_form_csrf(req).await?;

As well as HTML input retrieval:

  // before
  req.csrf_token(&amp;mut response).html_input();

  // after
  req.csrf_html_input(&amp;mut response);

This commit also merges the CsrfError type into CsrfProtectedFormError.

bump version to 0.3.1
</content>
</entry>
<entry>
<title>define &amp; impl traits instead of wrapping types</title>
<updated>2021-01-24T21:49:57Z</updated>
<author>
<name>Martin Fischer</name>
<email>martin@push-f.com</email>
</author>
<published>2021-01-24T21:37:36Z</published>
<link rel='alternate' type='text/html' href='http://git.push-f.com/sputnik/commit/?id=76e92d7281b45ce506046a8946b7fde3355c485d'/>
<id>urn:sha1:76e92d7281b45ce506046a8946b7fde3355c485d</id>
<content type='text'>
bump version to 0.3.0
</content>
</entry>
</feed>
