We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/lyrebird_tracking/tracking.py 29行 #获取配置文件的目标host列表,取自于config中的target if hostname in app_context.config.get('target'): # 判断是否为gzip类型,若是进行解压缩处理 if 'Content-Encoding' in handler_context.request.headers and handler_context.request.headers.get( 'Content-Encoding') == 'gzip': reqs_data = json.loads(gzip.decompress(handler_context.request.data).decode()) else: reqs_data = [] 没有特别明白非gzip的data数据为什么赋值为[ ]
#获取配置文件的目标host列表,取自于config中的target if hostname in app_context.config.get('target'): # 判断是否为gzip类型,若是进行解压缩处理 if 'Content-Encoding' in handler_context.request.headers and handler_context.request.headers.get( 'Content-Encoding') == 'gzip': reqs_data = json.loads(gzip.decompress(handler_context.request.data).decode()) else: reqs_data = []
我这边调试过程中将[ ]修改为reqs_data = json.loads(handler_context.request.data.decode()) 才能够正常拦截数据并验证 想知道我们设为空的初衷是要处理什么问题?
The text was updated successfully, but these errors were encountered:
十分感谢。这个应该是一个bug。
Sorry, something went wrong.
No branches or pull requests
/lyrebird_tracking/tracking.py 29行
#获取配置文件的目标host列表,取自于config中的target if hostname in app_context.config.get('target'): # 判断是否为gzip类型,若是进行解压缩处理 if 'Content-Encoding' in handler_context.request.headers and handler_context.request.headers.get( 'Content-Encoding') == 'gzip': reqs_data = json.loads(gzip.decompress(handler_context.request.data).decode()) else: reqs_data = []
没有特别明白非gzip的data数据为什么赋值为[ ]
我这边调试过程中将[ ]修改为reqs_data = json.loads(handler_context.request.data.decode())
才能够正常拦截数据并验证
想知道我们设为空的初衷是要处理什么问题?
The text was updated successfully, but these errors were encountered: