I have a serializer which contains a URL field, By default, if there is a field named as URL then the value of this field is added in the HEADER option as LOCATION, I don't want to do this, and would like to remove the LOCATION option from the header.
This is my serializer:-
class DemoSerializer(serializers.ModelSerializer):
class Meta:
model = Demo
fields = ('type', 'protocol', ---- 'url', 'somefield')
Now when the above serializer is used with POST/PUT/PATCH request to send data, I get this as response:-

Is there any method, or way I can remove the LOCATION option from the header, without effecting my other serializers and view in the project??