jordansissel / ruby-ftw

Ruby FTW - For The Web. Experimentation in web clients and servers.
31 stars 18 forks source link

Set origin to localhost on FTW::WebSocket #15

Open offlinehacker opened 11 years ago

offlinehacker commented 11 years ago

Please set origin header to localhost in FTW::WebSocket, or some websocket endpoints like ws://websocket.mtgox.com/mtgox?Currency=EUR do not work (return 403 forbidden)

offlinehacker commented 11 years ago

You can also leave this as it as, i will make a pull request on logstash, where i need this.