<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libzero/zero/lib, branch master</title>
<subtitle>zero - a ruby toolkit for building web services</subtitle>
<id>http://git.zero-knowledge.org/libzero/zero/atom/lib?h=master</id>
<link rel='self' href='http://git.zero-knowledge.org/libzero/zero/atom/lib?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>Use require_relative instead of require</title>
<updated>2023-05-09T10:37:08Z</updated>
<author>
<name>Stormwind</name>
<email>stormwind@stormwinds-page.de</email>
</author>
<published>2023-05-08T10:53:55Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/libzero/zero/commit/?id=8cb48215bfdc7352ea39ee2c7241bd4d87636198'/>
<id>urn:sha1:8cb48215bfdc7352ea39ee2c7241bd4d87636198</id>
<content type='text'>
This allows the Gem to be used more flexible. There is no need to add the
exact path of the Gem anymore in your Ruby path, if you don't want this.
</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>some more cleanup of the response</title>
<updated>2013-10-22T15:17:37Z</updated>
<author>
<name>Gibheer</name>
<email>gibheer@gmail.com</email>
</author>
<published>2013-10-22T15:17:37Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/libzero/zero/commit/?id=290165c440caceb53fd12ad6aa460069852a26ec'/>
<id>urn:sha1:290165c440caceb53fd12ad6aa460069852a26ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>some minor cleanup</title>
<updated>2013-10-22T15:14:54Z</updated>
<author>
<name>Gibheer</name>
<email>gibheer@gmail.com</email>
</author>
<published>2013-10-22T15:14:54Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/libzero/zero/commit/?id=9c66360b9830d2072d96ca82437259ca11c9c3df'/>
<id>urn:sha1:9c66360b9830d2072d96ca82437259ca11c9c3df</id>
<content type='text'>
</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>remove debug output</title>
<updated>2013-10-21T13:58:29Z</updated>
<author>
<name>Gibheer</name>
<email>gibheer@gmail.com</email>
</author>
<published>2013-10-21T13:58:29Z</published>
<link rel='alternate' type='text/html' href='http://git.zero-knowledge.org/libzero/zero/commit/?id=36a9b22a09dd0287672ca39352577bb19c526d7c'/>
<id>urn:sha1:36a9b22a09dd0287672ca39352577bb19c526d7c</id>
<content type='text'>
</content>
</entry>
</feed>
