nitrogen / simple_bridge

A simple, standardized interface library to Erlang HTTP Servers.
MIT License
112 stars 76 forks source link

Interface to get scheme used in request #4

Open jadahl opened 13 years ago

jadahl commented 13 years ago

(copied from previous pull request)

It could be useful to know whether for example https or http (or any other protocol) were used in the request to nitrogen. To know this, there needs to be an interface for this in simple_bridge. This commit contains a proposed interface, and an implementation in yaws. If interested, I could help out in implementing support in the other bridge implementations as well.

choptastic commented 8 years ago

It is my intention to re-introduce SSL to simple_bridge 2.0, and then will re-add the scheme() to finally make this pull request be resolved.

Let's hear it for 4-year-old pull requests!