We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ae1811 commit c01c845Copy full SHA for c01c845
packages/middleware-content-length/src/index.ts
@@ -44,15 +44,6 @@ export function contentLengthMiddleware(
44
};
45
}
46
47
-// export const contentLengthPlugin = (options: {
48
-// bodyLengthChecker: BodyLengthCalculator;
49
-// }): Injectable<any, any> => clientStack => {
50
-// clientStack.add(contentLengthMiddleware(options.bodyLengthChecker), {
51
-// step: "build",
52
-// tags: { SET_CONTENT_LENGTH: true }
53
-// });
54
-// };
55
-
56
export namespace ContentLength {
57
export const setMiddleware = (options: {
58
bodyLengthChecker: BodyLengthCalculator;
0 commit comments