noss / wwwerl
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
wwwerl /
README.textile
WWW support lib for Erlang.
Most of the Erlang web projects are “frameworks” that you need to buy in to completely. This project strives to be small and provide the functions needed for various www-related problems.
Features
Starting out small. The best place to find behaviour is reading the eunit based unit-tests inlined with the code.
Parser for application/x-form-urlencoded
GET query args support both & and ; as key-value separator.
{<<“/foo”>>, [{<<"x">>, <<"1">>}]} = wwwerl:q(“/foo?x=1”).POST urlencoded data
[{<<"x">>, <<"1">>}, {<<"y">>, <<"2">>}] = wwwerl:p(“x=1&y=2”).
