Skip to content

Commit

Permalink
Log header size
Browse files Browse the repository at this point in the history
  • Loading branch information
johannbm committed Apr 18, 2024
1 parent 8c41478 commit 3014998
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apps/frackend/src/apiProxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ export function addProxyHandler(
"[400 RESPONSE] toString",
responseBuffer.toString("utf8"),
);

console.log(
"[400 RESPONSE] header info",
new Blob(request.rawHeaders).size,
);
if (
proxyResponse.headers["content-type"] === "application/json"
) {
Expand Down

0 comments on commit 3014998

Please sign in to comment.