Skip to content

Commit

Permalink
Fixed a bug in s.contrib.http.server.HttpServer
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Allik committed Oct 4, 2013
1 parent 9820e1f commit 17a5fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spinoff/contrib/http/server.py
Expand Up @@ -23,7 +23,7 @@ def post_stop(self):

def handle_wsgi_request(self, env, start_response):
ch = Channel()
req = Request(ch, env, start_response, default_content_type=self.default_content_type)
req = Request(ch, env, start_response, content_type=self.default_content_type)
self << ('handle', req)
return response_stream(ch)

Expand Down

0 comments on commit 17a5fdf

Please sign in to comment.