basho/webmachine — pull request #67 by slfritchie (2012-04-05 22:37:04+00:00)
Title: Fix dialyzer warnings for webmachine_request:port_string()

Fixes two bugs:

% git branch | egrep '\*'
* master

% git log | head -1
commit 656aa69c6c6afd79d3446fd13c4f3bb3ba253ce5

% dialyzer -Wno_return ebin/*beam deps/*/ebin/*beam
Checking whether the PLT /Users/fritchie/.dialyzer_plt is up-to-date... yes
Compiling some key modules to native code... done in 0m21.94s
Proceeding with analysis...
webmachine_request.erl:815: The pattern 'http' can never match the type string()
webmachine_request.erl:820: The pattern 'https' can never match the type string()
Unknown functions:
compile:forms/2
fdsrv:bind_socket/2
fdsrv:start/0
fdsrv:stop/0
done in 0m15.44s
done (warnings were emitted)