Commits

Show all
Author Commit Message Labels Comments Date
Bryan Fink
don't need sub_dirs and lib_dirs for things in deps directory
Bryan Fink
latest rebar
Bryan Fink
switch from copying webmachine source to using rebar deps also make start.sh == start-dev.sh, and remove start-dev.sh
Bryan Fink
update to rebar with file/template directives instead of file-with-Render-flag directive
Bryan Fink
app file needs to be in ebin, not src
Bryan Fink
don't need webmachine_skel.erl with new rebar template skeleton
Bryan Fink
rebarized webmachine: use rebar to build, and make skeleton projects that use rebar to build
Bryan Fink
move webmachine.app from src to ebin for rebar compatibility
Bryan Fink
some webmachine_util tests
Bryan Fink
x-forwarded-for should not be used for virtual-host-based dispatching (thanks, Arjan)
Bryan Fink
handle strange "q" value format in Accept header from FeedBurner client (thanks, Marc)
Bryan Fink
webmachine_request_srv no longer exists - remove it from webmachine.app
Bryan Fink
convert existing test functions to eunit
Bryan Fink
more webmachine_dispatcher tests
Bryan Fink
add 'make test' eunit target and some tests in webmachine_dispatcher
Bryan Fink
bug fix: expect {Answer, ReqState} from webmachine_request:req_cookie/0 and :req_qs/0, not just Answer
jus...@basho.com
put incoming req_body in process dict (there is really no other decent way to allow more than one call to wrq:req_body in the same resource fun anymore)
jus...@basho.com
move body-fetched-yet test to outer state from reqdata also change record name so as to be able to make all modules using the reqstate record recompile to see the new record def.
Bryan Fink
in wmtrace_resource, find webmachine install with code:lib_dir/1 instead of depending on it being in deps/webmachine
Bryan Fink
error handlers return {Content, Reqstate}, not just Content
jus...@basho.com
trim the reqdata/reqstate loop in tracebacks
jus...@basho.com
do not double-pad the boundary
jus...@basho.com
quip update
jus...@basho.com
merge
jus...@basho.com
error catching here does not help
jus...@basho.com
superfluous function
Paul J. Davis
Added a Write callable response method. Body producing functions can return {writer, fun my_callable/1} as the status to indicate that they would like a fun write/1 callable passed to that function. This callable can then be used to write data to the client. An example: -module(writefun_resource). -export([init/1, to_html/2]). -include_lib("webmachine/include/webmachine.hrl"). init([]) -> {ok, undefined}. to_htm…
Bryan Fink
for wmtrace logging, don't dig more than one wm_reqdata/reqstate layer deep
Bryan Fink
don't unwrap resource error - it will cause a bad_match in decision core
Bryan Fink
add .manifest -> text/cache-manifest to guess_mime for serving HTML5 cache manifests add .svg -> image/svg+xml to guess_mime for serving SVG images
  1. Prev
  2. Next