aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2012-11-23Sets Content-Length to body string bytesizeStormwind1-1/+1
Sets the Conten-Length to the bytesize of the joined body to cover UTF-8
2012-11-23Sets Content-Length to body string lengthStormwind1-1/+1
It joins the body array to a string and sets the Content-Length header to its length.
2012-11-23Remove @s in to_aStormwind1-1/+1
2012-11-23content_length sets the Content-Length to 0Stormwind1-0/+7
The method content_length creates a header named Content-Length and sets its value to 0.
2012-11-20seperated the methods of the basic controllerGibheer1-1/+11
2012-11-20make a wrapper over the static transformGibheer1-0/+6
2012-11-20use Zero::Request instead of the rack oneGibheer1-1/+1
2012-11-20make class functions more clear in rendererGibheer1-22/+24
2012-11-18Add some TODOsStormwind1-1/+5
No change in behaviour
2012-11-18Add default value for the bodyStormwind1-1/+2
2012-11-18Add default value for headerStormwind1-0/+1
2012-11-17Add default value to status codeStormwind1-0/+7
2012-11-17Converts any input in status to an integerStormwind1-1/+11
2012-11-16added specs for Renderer.transformGibheer1-2/+2
2012-11-16documentet the renderer and added a specGibheer1-6/+65
2012-11-16corrected the naming of #accept, before #media_typesGibheer1-1/+1
2012-11-16corrected documentationGibheer1-1/+1
2012-11-16changed the name of the functionsGibheer1-6/+6
2012-11-16this adds a new accept typeGibheer3-58/+80
This new class handles various accept strings and makes them available throught the same API. This way, language and media type feels the same.
2012-11-16Add simple response objectStormwind2-0/+20
2012-11-16replace rack router with the zero routerGibheer1-4/+1
2012-11-16added self.create to the requestGibheer1-0/+6
With this it is possible to reuse an already set request and therefore safe some memory and time.
2012-11-15check for nil argument and use an empty arrayGibheer1-1/+5
2012-11-15added the implemention for #serverGibheer2-0/+48
2012-11-15added docs for #clientGibheer1-0/+2
2012-11-15added Client to the requestGibheer2-0/+36
2012-11-14changed the setting of @@mapGibheer1-1/+1
2012-11-14added documentation for parameter constantsGibheer1-0/+4
2012-11-13added more documentationGibheer1-6/+6
2012-11-13use #method for @method declarationGibheer1-8/+9
2012-11-13add reader for environmentGibheer1-0/+4
2012-11-13added comments for the constantsGibheer1-0/+8
2012-11-13replace head? with patch?Gibheer1-1/+1
2012-11-12added more documentationGibheer1-7/+21
2012-11-08added the two new facilitiesGibheer1-0/+2
2012-11-08added a small rendererGibheer1-0/+31
This is a renderer which currently just looks for fitting templates based on the name and accept type. The accept type can be mapped in the accept class to make it easier to work with.
2012-11-08replacement for rack requestGibheer3-0/+193
This should replace Rack::Request in the hole lib. It seperates everything worth into its own classes, like parameters and the accept header till now. More will follow
2012-11-08fixed the documentationGibheer1-1/+1
2012-11-08file to require everythingGibheer1-0/+2
2012-11-08use zero/all to require everythingGibheer2-5/+3
2012-10-13added new router to the toolsGibheer3-2/+79
This small router is intended to work like URLMap, but with the feature that it can extract variables from routes.
2012-10-06Rack::Response and Rack::Request work pretty goodGibheer3-44/+8
2012-10-05switched render with responseGibheer1-2/+2
The intention is, that everything gets rendered first and after that packed to a response. This way, error checking on the response can be done after rendering.
2012-10-05changed the way rendering happensGibheer1-1/+12
2012-10-05a small api is neededGibheer1-1/+1
2012-10-05the body is an arrayGibheer1-1/+1
2012-10-05small changes to get it workingGibheer1-2/+2
2012-10-05added the request as a parameter to the controllerGibheer1-0/+5
2012-10-05fixed small errorGibheer1-1/+1
2012-10-05forgot the include for the new classesGibheer1-1/+3