This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Source: https://groups.google.com/forum/#!topic/angular/hVrkvaHGOfc | |
| // jsFiddle: http://jsfiddle.net/pkozlowski_opensource/PxdSP/14/ | |
| // author: Pawel Kozlowski | |
| var myApp = angular.module('myApp', []); | |
| //service style, probably the simplest one | |
| myApp.service('helloWorldFromService', function() { | |
| this.sayHello = function() { | |
| return "Hello, World!" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import bottle | |
| from wsgiproxy.app import WSGIProxyApp | |
| # Remove "hop-by-hop" headers (as defined by RFC2613, Section 13) | |
| # since they are not allowed by the WSGI standard. | |
| FILTER_HEADERS = [ | |
| 'Connection', | |
| 'Keep-Alive', | |
| 'Proxy-Authenticate', | |
| 'Proxy-Authorization', |