nitrogen / simple_bridge

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

Header/2 function in mochiweb_request_bridge.erl #2

Closed mdaguete closed 10 years ago

mdaguete commented 13 years ago

Hello Rusty,

I've added a header/2 function in mochiweb_request_bridge.erl to allow search for user defined headers.

Regards.

choptastic commented 12 years ago

This should have been merged long ago, but never was. For that, I apologize. As it is now, mochiweb_request_bridge:header/2 exists as merged from the ChicagoBoss variation of SimpleBridge. I like how you do the atom to list conversion though, and I will likely incorporate that change tomorrow. For now, I will leave the pull request open, as it's getting late, and I simply don't have the time to complete the merger now.

Thanks Manuel!

mdaguete commented 12 years ago

Don't worry .. Thank you.

choptastic commented 10 years ago

There are some abstractions on this that make this more flexible in the upcoming 2.0 release.