Skip to content

Commit

Permalink
scrub leaked cookies
Browse files Browse the repository at this point in the history
  • Loading branch information
alizenhom committed Nov 13, 2024
1 parent 30eed05 commit cc5d604
Show file tree
Hide file tree
Showing 11 changed files with 364 additions and 254 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ interactions:
- application/json
accept-encoding:
- gzip, deflate
authorization:
- Bearer test_openai_api_key
connection:
- keep-alive
content-length:
Expand Down Expand Up @@ -56,13 +58,13 @@ interactions:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8e0e20160ec6e17f-MRS
- 8e1a80827a861852-MRS
Connection:
- keep-alive
Content-Type:
- application/json; charset=utf-8
Date:
- Mon, 11 Nov 2024 12:01:02 GMT
- Wed, 13 Nov 2024 00:04:01 GMT
Server:
- cloudflare
Set-Cookie: test_set_cookie
Expand All @@ -74,13 +76,13 @@ interactions:
- h3=":443"; ma=86400
content-length:
- '231'
openai-organization: test_organization
openai-organization: test_openai_org_id
strict-transport-security:
- max-age=31536000; includeSubDomains; preload
vary:
- Origin
x-request-id:
- req_93d359c0eeba1f2be7308d9132e82bf5
- req_5cf06a7fabd45ebe21ee38c14c5b2f76
status:
code: 404
message: Not Found
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ interactions:
- application/json
accept-encoding:
- gzip, deflate
authorization:
- Bearer test_openai_api_key
connection:
- keep-alive
content-length:
Expand Down Expand Up @@ -50,9 +52,9 @@ interactions:
body:
string: |-
{
"id": "chatcmpl-ASNOJZk6WBJTYWmACy5zBiYnkvXAw",
"id": "chatcmpl-ASv9WMTAMZY4O1EImv3csZa6Ch7KI",
"object": "chat.completion",
"created": 1731326463,
"created": 1731456242,
"model": "gpt-4o-mini-2024-07-18",
"choices": [
{
Expand Down Expand Up @@ -88,13 +90,13 @@ interactions:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8e0e20191e7670e7-MRS
- 8e1a8088f867e167-MRS
Connection:
- keep-alive
Content-Type:
- application/json
Date:
- Mon, 11 Nov 2024 12:01:03 GMT
- Wed, 13 Nov 2024 00:04:02 GMT
Server:
- cloudflare
Set-Cookie: test_set_cookie
Expand All @@ -108,9 +110,9 @@ interactions:
- h3=":443"; ma=86400
content-length:
- '825'
openai-organization: test_organization
openai-organization: test_openai_org_id
openai-processing-ms:
- '483'
- '488'
openai-version:
- '2020-10-01'
strict-transport-security:
Expand All @@ -128,7 +130,7 @@ interactions:
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_bbcd55fb3044f058ea9f9ae8a388698d
- req_6df08d6267415e8f5db3628a6757edad
status:
code: 200
message: OK
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ interactions:
- application/json
accept-encoding:
- gzip, deflate
authorization:
- Bearer test_openai_api_key
connection:
- keep-alive
content-length:
Expand Down Expand Up @@ -47,16 +49,16 @@ interactions:
body:
string: |-
{
"id": "chatcmpl-ASNOJmzXWHqTArL7xMAtIJhIuu46p",
"id": "chatcmpl-ASv9XLlMmT7H3cf50dNTesHDBDwX5",
"object": "chat.completion",
"created": 1731326463,
"created": 1731456243,
"model": "gpt-4o-mini-2024-07-18",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "This is a test! How can I assist you further?",
"content": "This is a test.",
"refusal": null
},
"logprobs": null,
Expand All @@ -66,7 +68,7 @@ interactions:
"index": 1,
"message": {
"role": "assistant",
"content": "This is a test. How can I assist you further?",
"content": "This is a test.",
"refusal": null
},
"logprobs": null,
Expand All @@ -75,8 +77,8 @@ interactions:
],
"usage": {
"prompt_tokens": 12,
"completion_tokens": 24,
"total_tokens": 36,
"completion_tokens": 10,
"total_tokens": 22,
"prompt_tokens_details": {
"cached_tokens": 0,
"audio_tokens": 0
Expand All @@ -94,13 +96,13 @@ interactions:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8e0e201e3de30771-MRS
- 8e1a808f6d8e0d8b-MRS
Connection:
- keep-alive
Content-Type:
- application/json
Date:
- Mon, 11 Nov 2024 12:01:04 GMT
- Wed, 13 Nov 2024 00:04:04 GMT
Server:
- cloudflare
Set-Cookie: test_set_cookie
Expand All @@ -113,10 +115,10 @@ interactions:
alt-svc:
- h3=":443"; ma=86400
content-length:
- '1030'
openai-organization: test_organization
- '970'
openai-organization: test_openai_org_id
openai-processing-ms:
- '373'
- '306'
openai-version:
- '2020-10-01'
strict-transport-security:
Expand All @@ -134,7 +136,7 @@ interactions:
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_d1f29830c9ae2a48e896be67a1edcfd6
- req_1317908e0f9b73276b57d4e171c533ea
status:
code: 200
message: OK
Expand Down
Loading

0 comments on commit cc5d604

Please sign in to comment.