![]() This header’s value may be ignored, for example when browsers perform MIME sniffing set the X-Content-Type-Options header value to nosniff to prevent this behavior. In responses, a Content-Type header provides the client with the actual content type of the returned content. The Content-Type representation header is used to indicate the original media type of the resource (prior to any content encoding applied for sending). But what is this header actually, what it does and why is it needed? Can we do without it.Īs per the Mozilla Developers Network (MDN), the Content-Type is defined as Modern api testing tools like Postman, Insomnia are intelligent enough to automatically add this header or provide this in the request/response of the API’s. This header I think would have been used in 99.8% of all the API calls that are done on internet or on the API’s that you might have tested- manually using Postman or using any DSL like Rest-Assured. Unless you’re living under a rock in 2023, you must have seen this keyword – somewhere working on any Restful API based web page or web app. Jenkins- Installation on Ubuntu 14.04 LTS.Some Useful Assertions in Playwright – Part -2.Some Useful Assertions in Playwright – Part -1.Working with File Uploads in Playwright. ![]() Add and Remove an HTML Attribute using Playwright.Playwright and Shadow DOM – A Love Story.Zoom Functionality On An E-Commerce Website.ExecuteScript vs ExecuteAsyncScript in Selenium.Playing With JavaScript and JavaScript Executor.Refreshing Page In Different Ways Using Webdriver.Installation -Ubuntu 14.04 LTS – Eclipse.Selenium vs Selenium Grid vs Maven vs Ant vs Jenkins. ![]() ![]()
0 Comments
Leave a Reply. |