Cowboy server response header

In the response header Serverreturned from my site hosted on Heroku and served by NodeJS/ express, I see the value Cowboy.

  • Who derives this value for Server?
  • Bonus, what is the "etymology" / reason for use Cowboyas meaning for Server?
+4
source share
3 answers

Perhaps it will be heroku / cowboy . “Cowboy” is simply the arbitrary name of the project chosen by ninenines / cowboy . It is as random as Apache (a heterogeneous version of its predecessor), nginx, unicorn, etc.

+4
source

I will answer your questions:

Who displays this value for the Server? This is an HTTP server called Cowboy. Cowboy is a small, fast and modular HTTP server written in Erlang.

Bonus, what is the “etymology” / reason for using Cowboy as a server value? This is a way to determine that your requests are being processed by Cowboy. You can check the following links with Cowboy docs.

Cowboy Cowboy Handler Document

+1

Bonus answer is "etymology": This page does not say GitHub ( https://github.com/heroku/cowboy ), but here are some suggestions:

  • Since it runs on a ranch ( https://github.com/heroku/ranch ): is the ranch a pool of socket receivers for TCP protocols?
  • Is it also possible because he sees Apache as a competitor?
0
source

Source: https://habr.com/ru/post/1570330/


All Articles