~jakob-simon-gaarde/ladon/trunk

« back to all changes in this revision

Viewing changes to src/ladon/server/wsgi_application.py

  • Committer: Jakob Simon-Gaarde
  • Date: 2011-06-12 23:34:25 UTC
  • Revision ID: jakob@simon-gaarde.dk-20110612233425-v73v99t76vmithv0
Added preliminary ladon-ctl script

Show diffs side-by-side

added added

removed removed

Lines of Context:
262
262
                                        output += dispatcher.iface.description(service_url,charset)
263
263
                                        #output += str(environ)
264
264
                                else:
265
 
                                        if 'CONTENT_LENGTH' not in environ:
 
265
                                        if 'CONTENT_LENGTH' not in environ or environ['CONTENT_LENGTH']=='':
266
266
                                                output += "Requests for %s %s interface must be posted" % (sname,ifname)
267
267
                                        else:
268
268
                                                content_type = dispatcher.iface.response_content_type()