bigghuggs commited on
Commit
4511910
·
verified ·
1 Parent(s): 3759f18

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -110,7 +110,7 @@ async def main(urls):
110
 
111
  async def post(url, session, json_data, headers, timeout=120):
112
  try:
113
- print('main_post: ', type(url), len(url), type(headers), len(headers), type(json_data), len(json_data), json_data.keys())
114
  async with session.request(method='post', url=url, timeout=timeout, headers=headers, json=json_data) as response:
115
  resp = await response.read()
116
  print("Successfully got url {} with resp of length {}.".format(url, len(resp)))
 
110
 
111
  async def post(url, session, json_data, headers, timeout=120):
112
  try:
113
+ print('main_post: ', type(url), len(url), type(headers), len(headers), type(json_data), len(json_data))
114
  async with session.request(method='post', url=url, timeout=timeout, headers=headers, json=json_data) as response:
115
  resp = await response.read()
116
  print("Successfully got url {} with resp of length {}.".format(url, len(resp)))