summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2012-11-24Add an = at the end of the content_type methodStormwind1-2/+2
Shall made use of this functionality more confortable, even if it's not a real attribute of this class.
2012-11-24Delete Content-Length. Conten-Type and body on status 304Stormwind1-2/+2
2012-11-24Add self. on uses of own methods with an = in itStormwind1-3/+3
Fixes errors
2012-11-23Delete Content-Length. Conten-Type and body on status 204Stormwind1-5/+11
Should work, but somehow it doesn't...
2012-11-23Sets the Content-Type in to_a unless it is already set beforeStormwind1-1/+2
The default value is 'text/html'.
2012-11-23content_type sets the Content-Type header to the given valueStormwind1-0/+7
2012-11-23Sets the Content-Length in to_a unless it is already set beforeStormwind1-2/+2
2012-11-23Sets Content-Type header in to_aStormwind1-0/+1
2012-11-23Merge remote-tracking branch 'origin/master'Stormwind2-24/+42
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.