Login  Register

Re: [ANN] Teapot 0.91

Posted by Olivier Auverlot on May 10, 2015; 2:59pm
URL: https://forum.world.st/ANN-Teapot-0-91-tp4825485p4825559.html

very interesting :-)

2015-05-09 21:13 GMT+02:00 Attila Magyar <[hidden email]>:
Hello,

Teapot 0.91 released today.

Teapot is micro web framework that focuses on simplicity and ease of use.

Here's a summary of changes:
 - Routes and before/after filters may include conditions (see the example
below)
 - Routes can be defined with /any:/ that serves as a wildcard matching any
http method
 - Added /charSet:/ accessor to TeaResponse

E.g.

Teapot on
    GET: 'test' -> result; when: [:req | req accept = 'application/json'];
    start.

More information:

http://smalltalkhub.com/#!/~zeroflag/Teapot



--
View this message in context: http://forum.world.st/ANN-Teapot-0-91-tp4825485.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.