Skip to content

Instantly share code, notes, and snippets.

@proppy
Created July 28, 2010 11:36
Show Gist options
  • Save proppy/494155 to your computer and use it in GitHub Desktop.
Save proppy/494155 to your computer and use it in GitHub Desktop.
diff --git a/windmill/server/proxy.py b/windmill/server/proxy.py
index 216887c..b699d2e 100644
--- a/windmill/server/proxy.py
+++ b/windmill/server/proxy.py
@@ -77,10 +77,7 @@ def get_wsgi_response(response):
if type(response) is str:
return [response]
- if response.length > 512000:
- return IterativeResponse(response)
- else:
- return [response.read()]
+ return [response.read()]
def conditions_pass(e):
for c in windmill.server.forwarding_conditions:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment