xiaolv commited on
Commit
a86f939
1 Parent(s): 4d98764

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -7,9 +7,9 @@ def request_to_v2(message, cookie, user_id, channel_id,context=[]):
7
  context = [message]
8
  headers = {
9
  # ':Authority': 'claude.ai',
10
- ':Method': 'POST',
11
- ':Path': '/api/append_message',
12
- ':Scheme': 'https',
13
  'Content-Type': 'application/json',
14
  'Origin': 'https://claude.ai',
15
  'Referer': f'https://claude.ai/chat/{channel_id}',
 
7
  context = [message]
8
  headers = {
9
  # ':Authority': 'claude.ai',
10
+ # ':Method': 'POST',
11
+ # ':Path': '/api/append_message',
12
+ # ':Scheme': 'https',
13
  'Content-Type': 'application/json',
14
  'Origin': 'https://claude.ai',
15
  'Referer': f'https://claude.ai/chat/{channel_id}',