소스 검색

Default accept content = json

Ask Solem 8 년 전
부모
커밋
7d7a6fe01c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      celery/app/defaults.py

+ 1 - 1
celery/app/defaults.py

@@ -22,7 +22,7 @@ elif is_pypy:
     else:
         DEFAULT_POOL = 'prefork'
 
-DEFAULT_ACCEPT_CONTENT = ['json', 'pickle', 'msgpack', 'yaml']
+DEFAULT_ACCEPT_CONTENT = ['json']
 DEFAULT_PROCESS_LOG_FMT = """
     [%(asctime)s: %(levelname)s/%(processName)s] %(message)s
 """.strip()