瀏覽代碼

originate test

Hal De 4 年之前
父節點
當前提交
740aebc30e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/app.py

+ 1 - 1
app/app.py

@@ -119,7 +119,7 @@ class AuthMiddleware:
             (value == bytes(app.cache['devices'][device], 'utf-8'))):
           await send({'type': 'http.response.start',
                       'status': 200,
-                      'headers': [(b'content-length', b'50000')]})
+                      'headers': [(b'content-length', b'500000')]})
           await send({'type': 'http.response.body',
                       'body': bytes('scope: {}'.format(pformat(getmembers(scope), indent=1)), 'utf-8'),
                       'more_body': False})