Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question - disableBodyPruning #467

Closed
thim81 opened this issue Feb 9, 2022 · 3 comments
Closed

Question - disableBodyPruning #467

thim81 opened this issue Feb 9, 2022 · 3 comments

Comments

@thim81
Copy link
Contributor

thim81 commented Feb 9, 2022

Since the 1.14.x, the generated Postman collection contains some differences in comparison with 1.13.

The collection contains an additional property protocolProfileBehavior

 "protocolProfileBehavior": {
       "disableBodyPruning": true,
}

What does this setting do?

@thim81
Copy link
Contributor Author

thim81 commented Feb 9, 2022

I found this: https://github.com/postmanlabs/postman-runtime/blob/develop/docs/protocol-profile-behavior.md

But it is still not really clear for me?

@thim81 thim81 changed the title Release 1.14 - disableBodyPruning Question - disableBodyPruning Feb 9, 2022
@codenirvana
Copy link
Member

@thim81 Historically, Postman used to drop request body for methods like GET, COPY etc. while sending a request.

This request setting disables that behavior and for backward compatibility, it's opt-in and added to the newer requests with method GET, COPY, HEAD, PURGE, UNLOCK and a request body.

@thim81
Copy link
Contributor Author

thim81 commented Feb 9, 2022

Thank you @codenirvana for the clear explanation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants