<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libzero/zero/spec, branch master</title>
<subtitle>zero - a ruby toolkit for building web services</subtitle>
<id>http://git.zero-knowledge.org/libzero/zero/atom/spec?h=master</id>
<link rel='self' href='http://git.zero-knowledge.org/libzero/zero/atom/spec?h=master'/>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/libzero/zero/'/>
<updated>2023-06-01T07:11:34Z</updated>
<entry>
<title>Correct HTTP status code on redirect</title>
<updated>2023-06-01T07:11:34Z</updated>
<author>
<name>Stormwind</name>
<email>stormwind@stormwinds-page.de</email>
</author>
<published>2023-06-01T07:11:34Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/libzero/zero/commit/?id=e96b602cb88e78adfed009ccd620c4385af01a0b'/>
<id>urn:sha1:e96b602cb88e78adfed009ccd620c4385af01a0b</id>
<content type='text'>
With the release of RFC 7231 in June 2014 the HTTP status code 302 - Moved
Temporarily does no longer exist in this form and has been replaced by
302 - Found, which causes the browser to use the same request method to
call the new resource.
Which can cause unwanted deletions of resouces, when a child resource is
deleted and the browser gets redirected to the parent resource.
Instead we use now the status code 303 - See Others, which specifies, that
the referred resource has to be called using the GET method.
</content>
</entry>
<entry>
<title>Add error handeling pages (primarily for 404)</title>
<updated>2023-05-09T10:37:15Z</updated>
<author>
<name>Stormwind</name>
<email>stormwind@stormwinds-page.de</email>
</author>
<published>2023-05-09T09:03:34Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/libzero/zero/commit/?id=b582ca5d8aafdf9bfaccbe67c74aa532cbfc4f1a'/>
<id>urn:sha1:b582ca5d8aafdf9bfaccbe67c74aa532cbfc4f1a</id>
<content type='text'>
Now you can add special error pages for http error codes.
Currently it works only for 404 errors. If a route is called, which
isn't defined, the framwork gave our a generic 404 error page.
Now you can redirect this error to a controller, which allowes you to
create a special error handling for that case yourself.
you just need to add a route "404 =&gt; MyErrorController" to your routing
list. If it's not defined, noting will change and the old error message
will be returned as beforehand.
</content>
</entry>
<entry>
<title>Update dependencies</title>
<updated>2023-05-09T10:36:57Z</updated>
<author>
<name>Stormwind</name>
<email>stormwind@stormwinds-page.de</email>
</author>
<published>2023-05-08T10:49:31Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/libzero/zero/commit/?id=49af46c6867ac11628f624d2376df95600d1bd15'/>
<id>urn:sha1:49af46c6867ac11628f624d2376df95600d1bd15</id>
<content type='text'>
Updated the dependencies to current versions of the gems this framework
relies on. Also got the tests back running, as the synthax of RSpec
slightly changed the past years.
</content>
</entry>
<entry>
<title>correct forwarded-for header</title>
<updated>2014-03-05T09:06:07Z</updated>
<author>
<name>Gibheer</name>
<email>gibheer@gmail.com</email>
</author>
<published>2014-03-05T09:06:07Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/libzero/zero/commit/?id=7f0df1746a184326e2ed58467bbb05938f221e3a'/>
<id>urn:sha1:7f0df1746a184326e2ed58467bbb05938f221e3a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add x-forwarded-for header to the client</title>
<updated>2014-03-05T08:44:06Z</updated>
<author>
<name>Gibheer</name>
<email>gibheer@gmail.com</email>
</author>
<published>2014-03-05T08:42:49Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/libzero/zero/commit/?id=4aab135bc6fffb0b13979e240479c24a3f553b06'/>
<id>urn:sha1:4aab135bc6fffb0b13979e240479c24a3f553b06</id>
<content type='text'>
This adds the way to find out the actual ip of the client machine, even
if it is hidden behind a local reverse proxy.
</content>
</entry>
<entry>
<title>add cookie support to response</title>
<updated>2013-10-28T13:37:24Z</updated>
<author>
<name>Gibheer</name>
<email>gibheer@gmail.com</email>
</author>
<published>2013-10-28T13:37:24Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/libzero/zero/commit/?id=a0422c10546b2e0dea252e68d1870f362095cdab'/>
<id>urn:sha1:a0422c10546b2e0dea252e68d1870f362095cdab</id>
<content type='text'>
This commit adds support for response cookies. Response now has a method
cookie to fetch the current cookie. One cookie has multiple crumbs which
represent a key value pair. For each crumb multiple options can be set
according to the specs.
</content>
</entry>
<entry>
<title>add cookie support in requests</title>
<updated>2013-10-22T15:07:16Z</updated>
<author>
<name>Gibheer</name>
<email>gibheer@gmail.com</email>
</author>
<published>2013-10-22T15:07:16Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/libzero/zero/commit/?id=6ad7650c05418a0de428c2522a6726fc6f7e4bcf'/>
<id>urn:sha1:6ad7650c05418a0de428c2522a6726fc6f7e4bcf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>allow a dash in the middle url part</title>
<updated>2013-09-10T06:56:24Z</updated>
<author>
<name>Gibheer</name>
<email>gibheer@gmail.com</email>
</author>
<published>2013-09-10T06:56:24Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/libzero/zero/commit/?id=3e0a3f20a79330f1f152a5f3667b29cb904d959c'/>
<id>urn:sha1:3e0a3f20a79330f1f152a5f3667b29cb904d959c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sort routes for more specific results</title>
<updated>2013-09-09T13:45:59Z</updated>
<author>
<name>Gibheer</name>
<email>gibheer@gmail.com</email>
</author>
<published>2013-09-09T13:45:59Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/libzero/zero/commit/?id=defb7703c69d1e4f756254723d50997fb8dc63da'/>
<id>urn:sha1:defb7703c69d1e4f756254723d50997fb8dc63da</id>
<content type='text'>
This change sorts the routes to get the most specific routes first and
avoid hitting a route which is not the most specific match.
With this the regex to extract variables is made more strict to avoid
matching half of the URI.
</content>
</entry>
<entry>
<title>add partial render method</title>
<updated>2013-09-03T06:45:55Z</updated>
<author>
<name>Gibheer</name>
<email>gibheer@gmail.com</email>
</author>
<published>2013-09-03T06:45:55Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/libzero/zero/commit/?id=a3caf9ac06a4b1aa87ada904ee7089f9976a69b7'/>
<id>urn:sha1:a3caf9ac06a4b1aa87ada904ee7089f9976a69b7</id>
<content type='text'>
This enables the user to render partial templates to embed them into
other templates and the like.
</content>
</entry>
</feed>
