Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Hermes' son
Erlang
Tree: 33cb8aa11d

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
config
lib basic method to not allow new requests, but needs to deal with messag…
README.md
rebar.config
sinan
sinan.config

README.md

Running Dependencies

Application Version
cowboy tsloughter/client_improvements
gproc 0.2.13

Testing Dependencies

Application Version
ibrowse 3.0.3

Building

$ export ERL_LIBS=$ERL_LIBS:./deps
$ ./sinan dist

Running

$ _build/dwight/bin/dwight -config config/sys.config

Testing

The configuration is currently as follows

[ {dwight_routes, [{domains, [{<<"localhost">>, <<"abc">>}]},
                   {route_ids, [{<<"abc">>, <<"localhost">>, 7999}]}]} ].

So if you have a local web server on 7999 you can use either curl or dwight_test:

$ curl -v localhost:8080
1> dwight_test:run().
Something went wrong with that request. Please try again.