Compare commits

..

2 Commits

Author SHA1 Message Date
qiangyanwen 069eecd12a add testr 2022-12-26 15:18:05 +08:00
qiangyanwen 87755c33cb add test 2022-12-26 14:57:16 +08:00
3 changed files with 3 additions and 44211 deletions

View File

@ -4,7 +4,6 @@
# @Author :qiangyanwen
# @File :user_entity.py.py
from pydantic import BaseModel, EmailStr
from typing import Optional
class UserFrom(BaseModel):

View File

@ -49,14 +49,9 @@ class Listener:
ctx.log.error('mitmproxy intercept http error:' + repr(e))
def response(self, flow):
response = flow.response
response_text = response.text
log_info = ctx.log.info
print('=====>', response)
print("--=-====>content===?", response.content)
print(response_text, "====>text")
with open('ut_log.text', 'wb') as f:
f.write(response.content)
resp = flow.response
print('=====>', resp)
print("--=-====>content===?", resp.content)
class TlsStrategy(ABC):

File diff suppressed because it is too large Load Diff