[erlang-questions] configure http methods in yaws

Bogdan Andu bog495@REDACTED
Thu Feb 12 21:20:30 CET 2015


Hi,

I use yapps.

The thing is I want to avoid to test at yapp level for allowable methods
and return method not allowed at application level

Something like inets httpd has (
http://www.erlang.org/doc/apps/inets/http_server.html):
Allows only GET and POST

<Limit POST GET>
  order allow deny
  require group group1
  allow from 123.145.244.5
</Limit>


On Thu, Feb 12, 2015 at 10:01 PM, Steve Vinoski <vinoski@REDACTED> wrote:

>
>
> On Thu, Feb 12, 2015 at 2:44 PM, Bogdan Andu <bog495@REDACTED> wrote:
>
>> Hi,
>>
>> Can anybody tell how to disable or enable http methods in yaws?
>>
>> For example, I want myu ywas server to serve only GET and POST.
>> and I do not want OPTIONS, HEAD, etc
>>
>
> How are you implementing your resources? Are you using .yaws files, or
> appmods, or serving static files, or?
>
> --steve
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150212/e1f962cd/attachment.htm>


More information about the erlang-questions mailing list