My chicagoboss is using mochiweb inspite of server being set to cowboy

23 views
Skip to first unread message

hjhaz...@gmail.com

unread,
Jan 5, 2015, 8:28:32 AM1/5/15
to chica...@googlegroups.com
curl -I localhost:8001/api/something
HTTP/1.1 200 OK
Server: MochiWeb/1.0 (Any of you quaids got a smint?)
Date: Mon, 05 Jan 2015 13:27:02 GMT
Content-Type: text/html

my config file
{server,cowboy},
{session_adapter,cache},
{session_cookie_http_only,false},
{session_cookie_secure,false},

Samuel Rose

unread,
Jan 5, 2015, 1:47:38 PM1/5/15
to chica...@googlegroups.com
Do you need to: ./rebar clean get-deps compile


(recompile)

?







> --
> You received this message because you are subscribed to the Google Groups
> "ChicagoBoss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to chicagoboss...@googlegroups.com.
> Visit this group at http://groups.google.com/group/chicagoboss.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/chicagoboss/f3be7914-93f2-41e4-9ea8-651fd89ef666%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Jesse Gumm

unread,
Jan 5, 2015, 1:52:58 PM1/5/15
to chica...@googlegroups.com
I answered it in the github issue, but it's worth repeating here, it's
just because cowboy in CB runs under mochicow, which provides a
mochiweb interface on top of cowboy.

https://github.com/benoitc/mochicow/blob/8a0458dcdd73b13c1c4732cd3955d1471b25c21b/src/mochicow_request.erl#L13

It's nothing to worry about.

-Jesse
> To view this discussion on the web visit https://groups.google.com/d/msgid/chicagoboss/CA%2BH5g6rUy8actQsmiiJj3wJnAg%2Bghg7mN%2BpaLZqLT2kxoXAn5w%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.



--
Jesse Gumm
Owner, Sigma Star Systems
414.940.4866 || sigma-star.com || @jessegumm
Reply all
Reply to author
Forward
0 new messages