This commit fixes post body type switcher in API editor. Prior to this PR, switching the post body to Raw changes the content-type to "text/plain", This fixes that by preserving the previous content-type when user switches to raw or none body type. It also gives users the flexibility to use any non supported content type, while in Raw body mode. |
||
|---|---|---|
| .. | ||
| fixtures | ||
| integration/Smoke_TestSuite | ||
| locators | ||
| manual_TestSuite | ||
| plugins | ||
| sample_airbnb/sample_airbnb | ||
| snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js | ||
| support | ||
| .eslintrc.json | ||
| cypress-docker-compose.yml | ||
| index.ts | ||
| init-mysql-dump-for-test.sql | ||
| init-pg-dump-for-test.sql | ||
| setup-test.sh | ||
| test.sh | ||
| tsconfig.json | ||