[erlang-questions] inets for web services? (Tom Samplonius)

bryan rasmussen <>
Fri Apr 27 03:23:17 CEST 2007


hi,

well I've got a number of REST based services I should work on.
basically one of the problems with support of HTTP in most servers is
that Servers do not automatically reply with the correct status code
on requests, so they rely on the programmer to write that. This is of
course reasonable in a generic web server, but if one is going to be
writing a number of REST based services then I think the server could
be written to automate the sending of the proper response code

cheers,
Bryan Rasmussen



On 4/27/07, Tom Samplonius <> wrote:
>
> ----- "bryan rasmussen" <> wrote:
> > I was just wondering what functionality the REST based service is
> > going to need? I was thinking of making a REST based server (which
> > for
> > me would mean building in tracking of moved resources so as to
> > automatically respond with correct response code for such resources)
> >
> > what were you planning on putting in yours?
>
>
>   No, I just need to enqueue messages from the REST interface.  I was planning to enqueue the messages into a Mnesia table, and then wake up an agent to fetch it.  Using Mnesia should allow the messages to be enqueued on any node in the group, so I don't have to worry about things moving, or having to inform clients to connect to some other REST server node.
>
>   But I don't really understand what you mean by "moved resources"?  I suppose it depends on the API you are designing.
>
>
> Tom
>



More information about the erlang-questions mailing list